OrangePi_CM5/drivers/usb/serial
Johan Hovold 2058aab4e3 USB: serial: ch341: fix disabled rx timer on older devices
commit 41ca302a697b64a3dab4676e01d0d11bb184737d upstream.

At least one older CH341 appears to have the RX timer enable bit
inverted so that setting it disables the RX timer and prevents the FIFO
from emptying until it is full.

Only set the RX timer enable bit for devices with version newer than
0x27 (even though this probably affects all pre-0x30 devices).

Reported-by: Jonathan Woithe <jwoithe@just42.net>
Tested-by: Jonathan Woithe <jwoithe@just42.net>
Link: https://lore.kernel.org/r/Ys1iPTfiZRWj2gXs@marvin.atrad.com.au
Fixes: 4e46c410e0 ("USB: serial: ch341: reinitialize chip on reconfiguration")
Cc: stable@vger.kernel.org      # 4.10
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-08 11:11:41 +02:00
..
Kconfig USB: serial: simple: add Nokia phone driver 2022-04-08 14:39:46 +02:00
Makefile
Makefile-keyspan_pda_fw
aircable.c
ark3116.c
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: ch341: fix disabled rx timer on older devices 2022-09-08 11:11:41 +02:00
console.c
cp210x.c USB: serial: cp210x: add Decagon UCA device id 2022-09-08 11:11:39 +02:00
cyberjack.c
cypress_m8.c
cypress_m8.h
digi_acceleport.c
empeg.c
ezusb_convert.pl
f81232.c
f81534.c
ftdi_sio.c USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id 2022-09-08 11:11:37 +02:00
ftdi_sio.h
ftdi_sio_ids.h USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id 2022-09-08 11:11:37 +02:00
garmin_gps.c
generic.c
io_16654.h
io_edgeport.c USB: serial: io_edgeport: fix memory leak in edge_startup 2021-03-17 17:06:30 +01:00
io_edgeport.h
io_ionsp.h
io_ti.c USB: serial: io_ti: add Agilent E5805A support 2022-06-22 14:13:18 +02:00
io_ti.h
io_usbvend.h USB: serial: io_ti: add Agilent E5805A support 2022-06-22 14:13:18 +02:00
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c
iuu_phoenix.h
keyspan.c USB: serial: keyspan: fix memleak on probe errors 2021-11-18 14:03:51 +01:00
keyspan_pda.c
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c
kl5kusb105.h
kobil_sct.c
kobil_sct.h
mct_u232.c
mct_u232.h
metro-usb.c
mos7720.c USB: serial: mos7720: improve OOM-handling in read_mos_reg() 2021-09-12 08:58:26 +02:00
mos7840.c USB: serial: mos7840: remove duplicated 0xac24 device ID 2021-09-30 10:11:00 +02:00
mxuport.c
navman.c
omninet.c USB: serial: omninet: add device id for Zyxel Omni 56K Plus 2021-06-16 12:01:42 +02:00
opticon.c
option.c USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode 2022-09-08 11:11:39 +02:00
oti6858.c
oti6858.h
pl2303.c USB: serial: pl2303: add device id for HP LM930 Display 2022-05-18 10:23:46 +02:00
pl2303.h USB: serial: pl2303: add device id for HP LM930 Display 2022-05-18 10:23:46 +02:00
qcaux.c
qcserial.c USB: serial: qcserial: add support for Sierra Wireless EM7590 2022-05-18 10:23:46 +02:00
quatech2.c USB: serial: quatech2: fix control-request directions 2021-06-16 12:01:42 +02:00
safe_serial.c
sierra.c USB: serial: fix tty-port initialized comments 2022-08-21 15:16:02 +02:00
spcp8x5.c
ssu100.c
symbolserial.c
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: add startech.com device id 2021-06-03 09:00:34 +02:00
upd78f0730.c
usb-serial-simple.c USB: serial: simple: add Nokia phone driver 2022-04-08 14:39:46 +02:00
usb-serial.c USB: serial: fix tty-port initialized comments 2022-08-21 15:16:02 +02:00
usb-wwan.h
usb_debug.c
usb_wwan.c USB: serial: fix tty-port initialized comments 2022-08-21 15:16:02 +02:00
visor.c
visor.h
whiteheat.c USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS 2022-05-09 09:04:57 +02:00
whiteheat.h
wishbone-serial.c
xsens_mt.c