summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2014-03-12 19:09:37 +0100
committerGreg Kroah-Hartman <greg@kroah.com>2014-03-12 12:44:49 -0700
commitd7c933ae7da0d0b112bfc7e86424d780aaeb2d2c (patch)
tree17621c7eb8d4f2f052f2f43a6177b89eee950844 /drivers/usb/serial/usb-serial.c
parentf61a7669f3986a0031c7cc780e2ccf2ec038ae33 (diff)
USB: cypress_m8: fix potential scheduling while atomic
Remove erroneous call to usb_clear_halt which is blocking and cannot be used in interrupt context. This code has possibly never been executed as it would cause an oops if it was. Simply treat a stalled-endpoint error as any other error condition. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
0 files changed, 0 insertions, 0 deletions