]> Git Repo - linux.git/commit
xhci: turn off port power in shutdown
authorMathias Nyman <[email protected]>
Thu, 23 Jun 2022 11:19:43 +0000 (14:19 +0300)
committerGreg Kroah-Hartman <[email protected]>
Thu, 23 Jun 2022 14:27:28 +0000 (16:27 +0200)
commit83810f84ecf11dfc5a9414a8b762c3501b328185
treeadaa904d56d048043ad94afae077958931479586
parenta808925075fb750804a60ff0710614466c396db4
xhci: turn off port power in shutdown

If ports are not turned off in shutdown then runtime suspended
self-powered USB devices may survive in U3 link state over S5.

During subsequent boot, if firmware sends an IPC command to program
the port in DISCONNECT state, it will time out, causing significant
delay in the boot time.

Turning off roothub port power is also recommended in xhci
specification 4.19.4 "Port Power" in the additional note.

Cc: [email protected]
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h
This page took 0.045747 seconds and 4 git commands to generate.