linux/drivers/usb
Kai-Heng Feng 0200b9f790 xhci: Wait until link state trainsits to U0 after setting USB_SS_PORT_LS_U0
Like U3 case, xHCI spec doesn't specify the upper bound of U0 transition
time. The 20ms is not enough for some devices.

Intead of polling PLS or PLC, we can facilitate the port change event to
know that the link transits to U0 is completed.

While at it, also separate U0 and U3 case to make the code cleaner.

[variable rename to u3exit, and skip completion for usb2 ports -Mathias ]
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20200312144517.1593-8-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-12 17:34:49 +01:00
..
atm USB: Replace zero-length array with flexible-array member 2020-02-23 19:24:51 +01:00
c67x00
cdns3 Merge 5.6-rc5 into usb-next 2020-03-10 08:12:46 +01:00
chipidea usb: roles: Provide the switch drivers handle to the switch in the API 2020-03-04 11:12:50 +01:00
class compat_ioctl: remove most of fs/compat_ioctl.c 2019-12-01 13:46:15 -08:00
common usb: common: usb-conn-gpio: Don't log an error on probe deferral 2019-12-10 11:41:20 +01:00
core Merge 5.6-rc5 into usb-next 2020-03-10 08:12:46 +01:00
dwc2 Merge 5.6-rc3 into usb-next 2020-02-24 08:48:49 +01:00
dwc3 Merge 5.6-rc5 into usb-next 2020-03-10 08:12:46 +01:00
early remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
gadget usb: roles: Provide the switch drivers handle to the switch in the API 2020-03-04 11:12:50 +01:00
host xhci: Wait until link state trainsits to U0 after setting USB_SS_PORT_LS_U0 2020-03-12 17:34:49 +01:00
image Merge 5.4-rc3 into usb-next 2019-10-14 07:09:59 +02:00
isp1760 remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
misc Merge 5.6-rc5 into usb-next 2020-03-10 08:12:46 +01:00
mon USB: mon: Use scnprintf() for avoiding potential buffer overflow 2020-03-12 09:49:28 +01:00
mtu3 usb: roles: Provide the switch drivers handle to the switch in the API 2020-03-04 11:12:50 +01:00
musb usb: roles: Provide the switch drivers handle to the switch in the API 2020-03-04 11:12:50 +01:00
phy usb: phy: Add driver for the Ingenic JZ4770 USB transceiver 2020-03-12 09:53:08 +01:00
renesas_usbhs phy: for 5.6 2020-01-17 07:52:26 +01:00
roles usb: roles: Allow the role switches to be named 2020-03-04 11:12:50 +01:00
serial Merge 5.6-rc3 into usb-next 2020-02-24 08:48:49 +01:00
storage Merge 5.6-rc5 into usb-next 2020-03-10 08:12:46 +01:00
typec usb: typec: ucsi_ccg: workaround for NVIDIA test device 2020-03-12 09:49:28 +01:00
usbip usbip: Fix error path of vhci_recv_ret_submit() 2019-12-17 16:36:33 +01:00
Kconfig usb: common: create Kconfig file 2019-09-03 19:00:39 +02:00
Makefile
usb-skeleton.c USB: usb-skeleton: drop redundant in-urb check 2019-10-10 12:41:19 +02:00