android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pawel Laszczak b2fb6ce06c usb: cdns3: fix race condition before setting doorbell
commit b69ec50b3e55c4b2a85c8bc46763eaf33060584 upstream

For DEV_VER_V3 version there exist race condition between clearing
ep_sts.EP_STS_TRBERR and setting ep_cmd.EP_CMD_DRDY bit.
Setting EP_CMD_DRDY will be ignored by controller when
EP_STS_TRBERR is set. So, between these two instructions we have
a small time gap in which the EP_STS_TRBERR can be set. In such case
the transfer will not start after setting doorbell.

Fixes: 7733f6c32e ("usb: cdns3: Add Cadence USB3 DRD Driver")
cc: <[email protected]> # 5.4.x
Tested-by: Aswath Govindraju <[email protected]>
Reviewed-by: Aswath Govindraju <[email protected]>
Signed-off-by: Pawel Laszczak <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-10-06 15:42:30 +02:00
..
atm
c67x00
cdns3 usb: cdns3: fix race condition before setting doorbell 2021-10-06 15:42:30 +02:00
chipidea usb: chipidea: host: fix port index underflow and UBSAN complains 2021-09-22 12:26:33 +02:00
class USB: cdc-acm: fix minor-number release 2021-09-30 10:09:21 +02:00
common usb: otg-fsm: Fix hrtimer list corruption 2021-08-12 13:21:00 +02:00
core usb: core: hcd: Add support for deferring roothub registration 2021-09-30 10:09:21 +02:00
dwc2 usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA 2021-09-30 10:09:20 +02:00
dwc3 usb: dwc3: gadget: Stop EP0 transfers during pullup disable 2021-09-03 10:08:13 +02:00
early
gadget usb: gadget: r8a66597: fix a loop in set_feature() 2021-09-30 10:09:20 +02:00
host xhci: Set HCD flag to defer primary roothub registration 2021-09-30 10:09:22 +02:00
image
isp1760
misc USB: trancevibrator: fix control-request direction 2021-06-03 08:59:04 +02:00
mon
mtu3 usb: mtu3: fix the wrong HS mult value 2021-09-12 08:56:41 +02:00
musb usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned() 2021-09-30 10:09:20 +02:00
phy usb: phy: tahvo: add IRQ check 2021-09-15 09:47:35 +02:00
renesas_usbhs usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 2021-07-28 13:31:00 +02:00
roles
serial USB: serial: option: add device id for Foxconn T99W265 2021-09-30 10:09:22 +02:00
storage Re-enable UAS for LaCie Rugged USB3-FW with fk quirk 2021-09-30 10:09:21 +02:00
typec usb: typec: Add the missed altmode_id_remove() in typec_register_altmode() 2021-07-14 16:53:01 +02:00
usbip usbip:vhci_hcd USB port can get stuck in the disabled state 2021-09-22 12:26:35 +02:00
Kconfig
Makefile
usb-skeleton.c