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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:09 +0000 (15:04 -0700)
commit8727bf689a77a79816065e23a7a58a474ad544f9
tree88e1424923b12bfb209e2dde731360535886669b
parent703df3297fb1950b0aa53e656108eb936d3f21d9
USB: cdc-acm: fix failed open not being detected

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>
drivers/usb/class/cdc-acm.c