]> git.ipfire.org Git - people/arne_f/kernel.git/commit
USB: cdc-acm: fix failed open not being detected
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:43 +0000 (19:23 +0200)
committerJiri Slaby <jslaby@suse.cz>
Fri, 3 Mar 2017 10:51:32 +0000 (11:51 +0100)
commite6b7fdc02b3beaa6d583b9fbb212f516fe1905f8
tree66ef04464b10275f2c80b5db210e5d6c27342678
parent0bb6506d9bd0ab62b05335b569be1f5fff556229
USB: cdc-acm: fix failed open not being detected

commit 8727bf689a77a79816065e23a7a58a474ad544f9 upstream.

Fix errors during open not being returned to userspace. Specifically,
failed control-line manipulations or control or read urb submissions
would not be detected.

Fixes: 7fb57a019f94 ("USB: cdc-acm: Fix potential deadlock (lockdep
warning)")

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/class/cdc-acm.c