android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sing-Han Chen 5ede72d48c ucsi_ccg: Check DEV_INT bit only when starting CCG4
commit 825911492eb15bf8bb7fb94bc0c0421fe7a6327d upstream.

CCGx clears Bit 0:Device Interrupt in the INTR_REG
if CCGx is reset successfully. However, there might
be a chance that other bits in INTR_REG are not
cleared due to internal data queued in PPM. This case
misleads the driver that CCGx reset failed.

The commit checks bit 0 in INTR_REG and ignores other
bits. The ucsi driver would reset PPM later.

Fixes: 247c554a14 ("usb: typec: ucsi: add support for Cypress CCGx")
Cc: [email protected]
Reviewed-by: Heikki Krogerus <[email protected]>
Signed-off-by: Sing-Han Chen <[email protected]>
Signed-off-by: Wayne Chang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-02-01 17:24:35 +01:00
..
atm
c67x00
cdns3
chipidea
class
common usb: common: ulpi: Fix crash in ulpi_match() 2022-02-01 17:24:35 +01:00
core USB: core: Fix hang in usb_kill_urb by adding memory barriers 2022-02-01 17:24:35 +01:00
dwc2
dwc3
early
gadget usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS 2022-02-01 17:24:35 +01:00
host usb: uhci: add aspeed ast2600 uhci support 2022-01-27 09:19:42 +01:00
image
isp1760
misc usb: ftdi-elan: fix memory leak on device disconnect 2022-01-27 09:19:34 +01:00
mon
mtu3
musb
phy
renesas_usbhs
roles
serial
storage usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge 2022-02-01 17:24:35 +01:00
typec ucsi_ccg: Check DEV_INT bit only when starting CCG4 2022-02-01 17:24:35 +01:00
usbip
Kconfig
Makefile
usb-skeleton.c