android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Hanselmann 0fac736dba USB: serial: ch341: add basis for quirk detection
commit c404bf4aa9236cb4d1068e499ae42acf48a6ff97 upstream.

A subset of CH341 devices does not support all features, namely the
prescaler is limited to a reduced precision and there is no support for
sending a RS232 break condition. This patch adds a detection function
which will be extended to set quirk flags as they're implemented.

The author's affected device has an imprint of "340" on the
turquoise-colored plug, but not all such devices appear to be affected.

Signed-off-by: Michael Hanselmann <[email protected]>
Link: https://lore.kernel.org/r/1e1ae0da6082bb528a44ef323d4e1d3733d38858.1585697281.git.public@hansmi.ch
[ johan: use long type for quirks; rephrase and use port device for
	 messages; handle short reads; set quirk flags directly in
	 helper function ]
Cc: stable <[email protected]>	# 5.5
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-06-10 20:24:55 +02:00
..
atm
c67x00
cdns3 usb: cdns3: gadget: prev_req->trb is NULL for ep0 2020-05-20 08:20:31 +02:00
chipidea usb: chipidea: msm: Ensure proper controller reset using role switch API 2020-05-14 07:58:25 +02:00
class cdc-acm: introduce a cool down 2020-04-29 16:33:22 +02:00
common
core USB: core: Fix misleading driver bug report 2020-05-27 17:46:34 +02:00
dwc2 usb: dwc2: Fix in ISOC request length checking 2020-02-28 17:22:26 +01:00
dwc3 usb: dwc3: pci: Enable extcon driver for Intel Merrifield 2020-06-03 08:21:11 +02:00
early USB: early: Handle AMD's spec-compliant identifiers, too 2020-04-29 16:33:13 +02:00
gadget usb: gadget: legacy: fix redundant initialization warnings 2020-06-03 08:21:12 +02:00
host usb: xhci: Fix NULL pointer dereference when enqueuing trbs from urb sg list 2020-05-20 08:20:32 +02:00
image
isp1760
misc USB: sisusbvga: Change port variable from signed to unsigned 2020-04-29 16:33:13 +02:00
mon
mtu3
musb usb: musb: fix crash with highmen PIO and usbmon 2020-04-01 11:02:15 +02:00
phy usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()' 2020-06-03 08:21:12 +02:00
renesas_usbhs usb: renesas_usbhs: add suspend event support in gadget mode 2019-12-31 16:43:37 +01:00
roles
serial USB: serial: ch341: add basis for quirk detection 2020-06-10 20:24:55 +02:00
storage USB: uas: add quirk for LaCie 2Big Quadra 2020-05-14 07:58:25 +02:00
typec usb: typec: altmode: Fix typec_altmode_get_partner sometimes returning an invalid pointer 2020-04-29 16:33:23 +02:00
usbip usbip: Fix error path of vhci_recv_ret_submit() 2019-12-31 16:46:05 +01:00
Kconfig
Makefile
usb-skeleton.c