android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johan Hovold 944f276cbc 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>
[ johan: backport to 5.4 ]
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-15 12:04:53 +02:00
..
atm
c67x00 USB: c67x00: fix use after free in c67x00_giveback_urb 2020-07-22 09:33:09 +02:00
cdns3 usb: cdns3: Fix issue for clear halt endpoint 2022-09-05 10:27:38 +02:00
chipidea usb: chipidea: udc: check request status before setting device address 2022-06-29 08:58:47 +02:00
class USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020) 2022-09-15 12:04:52 +02:00
common usb: ulpi: Call of_node_put correctly 2022-02-16 12:52:52 +01:00
core USB: core: Prevent nested device-reset calls 2022-09-15 12:04:52 +02:00
dwc2 usb: dwc2: fix wrong order of phy_power_on and phy_init 2022-09-15 12:04:52 +02:00
dwc3 usb: dwc3: disable USB core PHY management 2022-09-15 12:04:53 +02:00
early USB: early: Handle AMD's spec-compliant identifiers, too 2020-04-29 16:33:13 +02:00
gadget usb: gadget: mass_storage: Fix cdrom data transfers on MAC-OS 2022-09-15 12:04:52 +02:00
host xhci: Add grace period after xHC start to prevent premature runtime suspend. 2022-09-15 12:04:52 +02:00
image
isp1760
misc usb: misc: fix improper handling of refcount in uss720_probe() 2022-05-09 09:03:21 +02:00
mon
mtu3 usb: mtu3: fix USB 3.0 dual-role-switch from device to host 2022-05-09 09:03:20 +02:00
musb usb: musb: Fix missing of_node_put() in omap2430_probe 2022-06-14 18:11:51 +02:00
phy usb: phy: tahvo: add IRQ check 2021-09-15 09:47:35 +02:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-08-25 11:18:33 +02:00
roles
serial USB: serial: ch341: fix disabled rx timer on older devices 2022-09-15 12:04:53 +02:00
storage usb-storage: Add ignore-residue quirk for NXP PN7462AU 2022-09-15 12:04:52 +02:00
typec usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles 2022-09-15 12:04:52 +02:00
usbip usb: usbip: add missing device lock on tweak configuration cmd 2022-06-14 18:11:51 +02:00
Kconfig
Makefile
usb-skeleton.c