]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: serial: continue to read on errors
authorJohan Hovold <jhovold@gmail.com>
Wed, 12 Mar 2014 18:09:39 +0000 (19:09 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 12 Mar 2014 19:44:49 +0000 (12:44 -0700)
commitfc11efe2800f2f9ba2ccb268321642b7e9f73a65
tree9637222cfe2a617baaf7e64956c3374e2c192b9c
parent5083fd7bdfe6760577235a724cf6dccae13652c2
USB: serial: continue to read on errors

Make sure to try to resubmit the read urb on errors.

Currently a recoverable error would lead to reduced throughput as only
one urb will be used until the port is closed and reopened (or
resumed or unthrottled).

Also upgrade error messages from debug to error log level.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/serial/generic.c