OpenCloudOS-Kernel/include/linux/usb
Kai-Heng Feng 781f0766cc USB: Wait for extra delay time after USB_PORT_FEAT_RESET for quirky hub
Devices connected under Terminus Technology Inc. Hub (1a40:0101) may
fail to work after the system resumes from suspend:
[  206.063325] usb 3-2.4: reset full-speed USB device number 4 using xhci_hcd
[  206.143691] usb 3-2.4: device descriptor read/64, error -32
[  206.351671] usb 3-2.4: device descriptor read/64, error -32

Info for this hub:
T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1a40 ProdID=0101 Rev=01.11
S:  Product=USB 2.0 Hub
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

Some expirements indicate that the USB devices connected to the hub are
innocent, it's the hub itself is to blame. The hub needs extra delay
time after it resets its port.

Hence wait for extra delay, if the device is connected to this quirky
hub.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-07 13:23:18 +01:00
..
association.h
audio-v2.h sound updates for 4.18 2018-06-06 09:08:38 -07:00
audio-v3.h ALSA: usb-audio: Initial Power Domain support 2018-07-31 15:01:22 +02:00
audio.h
c67x00.h
cdc-wdm.h
cdc.h
cdc_ncm.h
ch9.h
chipidea.h usb: chipidea: Add dynamic pinctrl selection 2018-09-20 17:04:21 +08:00
composite.h usb: gadget: composite Allow for larger configuration descriptors 2018-05-21 10:36:14 +03:00
ehci-dbgp.h
ehci_def.h
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h
gadget_configfs.h
gpio_vbus.h
hcd.h USB: Report wakeup events on root-hub ports 2018-06-25 21:44:43 +08:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
musb-ux500.h
musb.h usb: musb: remove unused members in struct musb_hdrc_config 2018-05-22 12:03:25 +02:00
net2280.h
of.h
ohci_pdriver.h
otg-fsm.h
otg.h
pd.h usb: pd: include kernel.h 2018-06-28 19:52:07 +09:00
pd_ado.h
pd_bdo.h
pd_ext_sdb.h
pd_vdo.h
phy.h
phy_companion.h
quirks.h USB: Wait for extra delay time after USB_PORT_FEAT_RESET for quirky hub 2018-11-07 13:23:18 +01:00
r8a66597.h
renesas_usbhs.h
rndis_host.h
role.h
samsung_usb_phy.h
serial.h usb-serial: begin switching to ->[sg]et_serial() 2018-10-13 00:50:34 -04:00
sl811.h
storage.h
tcpm.h usb: typec: tcpm: Support for Alternate Modes 2018-07-02 17:42:36 +02:00
tegra_usb_phy.h
typec.h usb: typec: Bus type for alternate modes 2018-07-02 17:42:36 +02:00
typec_altmode.h usb: typec: Bus type for alternate modes 2018-07-02 17:42:36 +02:00
typec_dp.h usb: typec: Add driver for DisplayPort alternate mode 2018-07-02 17:42:36 +02:00
typec_mux.h usb: typec: mux: Get the mux identifier from function parameter 2018-07-02 17:42:36 +02:00
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h net: usbnet: make driver_info const 2018-10-02 22:22:46 -07:00
wusb-wa.h
wusb.h
xhci-dbgp.h