1
0
Fork 0
alistair23-linux/drivers/usb
Peter Chen 49f5ac5c8a
MLK-24525 usb: cdns3: add delay during role switch
The Mass storage gadget uses another thread (fsg_main_thread) to
disable endpoint after disconnecting with host, if it switches
host as soon as disconnecting the gadget (through sysfs role interface),
the system will hang due to access register during the controller
reset. There is no better way to wait fsg_main_thread to complete
at UDC driver, as a workaround, it adds some delay to wait the
thread has completed. The similar method is used when the cable
is disconnected from the host, and 20ms delay has probed no issue.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2020-08-21 15:48:35 +08:00
..
atm USB: atm: ueagle-atm: add missing endpoint check 2019-12-17 19:55:44 +01:00
c67x00
cdns3 MLK-24525 usb: cdns3: add delay during role switch 2020-08-21 15:48:35 +08:00
chipidea MLK-24475-1 usb: chipidea: udc: delete the WARN_ON for .pullup 2020-08-10 18:02:02 +08:00
class CDC-ACM: heed quirk also in error handling 2020-06-10 20:24:57 +02:00
common usb: common: usb-conn-gpio: Don't log an error on probe deferral 2019-12-17 19:55:39 +01:00
core Merge tag 'v5.4.47' into imx_5.4.y 2020-06-19 17:32:49 +08:00
dwc2 usb: dwc2: Fix in ISOC request length checking 2020-02-28 17:22:26 +01:00
dwc3 MLK-24527-6 usb: dwc3: imx8mp: add imx8mp specific dwc3 platform data 2020-08-21 14:30:24 +08:00
early USB: early: Handle AMD's spec-compliant identifiers, too 2020-04-29 16:33:13 +02:00
gadget Merge tag 'v5.4.47' into imx_5.4.y 2020-06-19 17:32:49 +08:00
host MLK-24527-3 usb: host: xhci-plat: add priv quirk for skip PHY initialization 2020-08-21 14:30:23 +08:00
image
isp1760
misc USB: sisusbvga: Change port variable from signed to unsigned 2020-04-29 16:33:13 +02:00
mon usb: mon: Fix a deadlock in usbmon between mmap and read 2019-12-17 19:55:49 +01:00
mtu3
musb usb: musb: Fix runtime PM imbalance on error 2020-06-10 20:24:56 +02:00
phy MLK-24475-2 usb: phy: mxs: add runtime PM support 2020-08-18 17:56:05 +08:00
renesas_usbhs usb: renesas_usbhs: add suspend event support in gadget mode 2019-12-31 16:43:37 +01:00
roles usb: roles: fix a potential use after free 2019-12-17 19:55:46 +01:00
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 MLK-24507-4 usb: typec: tcpm: use vbus_present for power supply online 2020-08-21 13:42:51 +08:00
usbip usbip: Fix error path of vhci_recv_ret_submit() 2019-12-31 16:46:05 +01:00
Kconfig
Makefile
usb-skeleton.c