]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jun 2014 19:17:35 +0000 (15:17 -0400)
commit5bc7f434900ede254177c154c84ef65e7325bfd4
treee867dcc3e3dfd9f3831bea42d50dbec8bae7cc74
parent9f074718f0969fd32df3ddae12e454924279428e
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>
drivers/usb/class/cdc-acm.c