summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2016-11-18 19:11:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-21 11:36:16 +0100
commit1aba579f3cf51fd0fe0b4d46cc13823fd1200acb (patch)
tree1a522a1fc4aa36b8ed75eecfb5e05f8fa67afead /drivers/usb/host
parentcdc-acm: remove is_int_ep from acm structure (diff)
downloadlinux-1aba579f3cf51fd0fe0b4d46cc13823fd1200acb.tar.xz
linux-1aba579f3cf51fd0fe0b4d46cc13823fd1200acb.zip
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>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions