1
0
Fork 0
alistair23-linux/drivers/usb/class
Ladislav Michl 1aba579f3c cdc-acm: handle read pipe errors
Read urbs are submitted back only on success, causing read pipe
running out of urbs after few errors. No more characters can
be read from tty device then until it is reopened and no errors
are reported.
Fix that by always submitting urbs back and clearing stall on
-EPIPE.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-21 11:36:16 +01:00
..
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
cdc-acm.c cdc-acm: handle read pipe errors 2016-11-21 11:36:16 +01:00
cdc-acm.h cdc-acm: handle read pipe errors 2016-11-21 11:36:16 +01:00
cdc-wdm.c cdc-wdm: add terminating newline 2016-09-09 14:13:24 +02:00
usblp.c usblp: do not set TASK_INTERRUPTIBLE before lock 2015-11-19 16:31:42 -08:00
usbtmc.c usbtmc: Add, clarify and fix comments 2016-10-24 14:36:25 +02:00