diff options
author | Jeremiah Mahler | 2015-01-11 05:42:06 -0800 |
---|---|---|
committer | Johan Hovold | 2015-01-12 10:23:35 +0100 |
commit | aa8e22128b40590b291cd13512098bf258a7e6c5 (patch) | |
tree | 8f77b8b25adadeb68c6dbdaca1dbbf0fc4ff81c4 /include/linux | |
parent | 32a4bf2e81ec378e5925d4e069e0677a6c86a6ad (diff) |
usb: serial: silence all non-critical read errors
If a USB serial device is unplugged while there is an active program
using the device it may spam the logs with -EPROTO (71) messages as it
attempts to retry.
Most serial usb drivers (metro-usb, pl2303, mos7840, ...) only output
these messages for debugging. The generic driver treats these as
errors.
Change the default output for the generic serial driver from error to
debug to silence these non-critical errors.
Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions