android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Shuah Khan a1c7bc02e1 usbip:vhci_hcd USB port can get stuck in the disabled state
[ Upstream commit 66cce9e73ec61967ed1f97f30cee79bd9a2bb7ee ]

When a remote usb device is attached to the local Virtual USB
Host Controller Root Hub port, the bound device driver may send
a port reset command.

vhci_hcd accepts port resets only when the device doesn't have
port address assigned to it. When reset happens device is in
assigned/used state and vhci_hcd rejects it leaving the port in
a stuck state.

This problem was found when a blue-tooth or xbox wireless dongle
was passed through using usbip.

A few drivers reset the port during probe including mt76 driver
specific to this bug report. Fix the problem with a change to
honor reset requests when device is in used state (VDEV_ST_USED).

Reported-and-tested-by: Michael <[email protected]>
Suggested-by: Michael <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-09-22 12:26:35 +02:00
..
atm
c67x00
cdns3 usb: cdns3: Fixed incorrect gadget state 2021-08-12 13:20:59 +02:00
chipidea usb: chipidea: host: fix port index underflow and UBSAN complains 2021-09-22 12:26:33 +02:00
class USB: usbtmc: Fix RCU stall warning 2021-08-12 13:20:58 +02:00
common usb: otg-fsm: Fix hrtimer list corruption 2021-08-12 13:21:00 +02:00
core USB: core: Avoid WARNings for 0-length descriptor requests 2021-08-26 08:36:13 -04:00
dwc2 usb: dwc2: gadget: Fix sending zero length packet in DDMA mode. 2021-07-28 13:31:00 +02:00
dwc3 usb: dwc3: gadget: Stop EP0 transfers during pullup disable 2021-09-03 10:08:13 +02:00
early
gadget usb: gadget: composite: Allow bMaxPower=0 if self-powered 2021-09-22 12:26:28 +02:00
host Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set" 2021-09-22 12:26:35 +02:00
image
isp1760
misc
mon
mtu3 usb: mtu3: fix the wrong HS mult value 2021-09-12 08:56:41 +02:00
musb usb: musb: musb_dsps: request_irq() after initializing musb 2021-09-22 12:26:35 +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: mos7720: improve OOM-handling in read_mos_reg() 2021-09-12 08:56:40 +02:00
storage USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS 2021-07-28 13:30:59 +02:00
typec
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