diff options
author | 2024-09-12 10:37:39 +0200 | |
---|---|---|
committer | 2024-11-06 17:23:33 +0100 | |
commit | 40827729cff16269b5e99fc8e12bf53d848407de (patch) | |
tree | 478b87a0c8d9aa0499df88c4d595df140c64115c /scripts/lib/kdoc/kdoc_parser.py | |
parent | Linux 6.12-rc6 (diff) | |
download | wireguard-linux-40827729cff16269b5e99fc8e12bf53d848407de.tar.xz wireguard-linux-40827729cff16269b5e99fc8e12bf53d848407de.zip |
USB: serial: pl2303: account for deficits of clones
There are apparently incomplete clones of the HXD type chip in use.
Those return -EPIPE on GET_LINE_REQUEST and BREAK_REQUEST. Avoid
flooding the kernel log with those errors. Detect them during startup
and then use the line_settings cache instead of GET_LINE_REQUEST. Signal
missing break support via -ENOTTY.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
[ johan: fix macro prefix, drop oom error message ]
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions