aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2024-09-12 10:37:39 +0200
committerJohan Hovold <johan@kernel.org>2024-11-06 17:23:33 +0100
commit40827729cff16269b5e99fc8e12bf53d848407de (patch)
tree478b87a0c8d9aa0499df88c4d595df140c64115c /drivers/platform/x86/intel/pmt/class.c
parent59b723cd2adbac2a34fc8e12c74ae26ae45bf230 (diff)
downloadlinux-40827729cff16269b5e99fc8e12bf53d848407de.tar.gz
linux-40827729cff16269b5e99fc8e12bf53d848407de.tar.bz2
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 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions