commit | 1aba579f3cf51fd0fe0b4d46cc13823fd1200acb | [log] [tgz] |
---|---|---|
author | Ladislav Michl <ladis@linux-mips.org> | Fri Nov 18 19:11:26 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 21 11:36:16 2016 +0100 |
tree | 1a522a1fc4aa36b8ed75eecfb5e05f8fa67afead | |
parent | d305394ee8c4132bcea0bb36fd6a360a415376bf [diff] |
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>