aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2018-11-28 15:55:21 +0200
committerGreg Kroah-Hartman <[email protected]>2018-12-05 10:12:31 +0100
commite86108940e541febf35813402ff29fa6f4a9ac0b (patch)
tree74c89447a656a6cca3f873ad3b65915bf09bff8d /include/linux
parent44c94100b6fa83488337fe639eb7baba7dd93a91 (diff)
usb: hub: delay hub autosuspend if USB3 port is still link training
When initializing a hub we want to give a USB3 port in link training the same debounce delay time before autosuspening the hub as already trained, connected enabled ports. USB3 ports won't reach the enabled state with "current connect status" and "connect status change" bits set until the USB3 link training finishes. Catching the port in link training (polling) and adding the debounce delay prevents unnecessary failed attempts to autosuspend the hub. Signed-off-by: Mathias Nyman <[email protected]> Acked-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions