diff options
author | Mathias Nyman <[email protected]> | 2022-11-30 11:19:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-30 12:10:48 +0100 |
commit | c3bbacd61baace2f4fbab17012c3d149df2d50f1 (patch) | |
tree | b1413d567bc489a78559d2444619aba1fe8c4a93 /lib/mpi/mpiutil.c | |
parent | 705c333a7ad2003ad99d96c19a31619b19ad14b9 (diff) |
xhci: disable U3 suspended ports in S4 hibernate poweroff_late stage
Disable U3 suspended ports in hibernate S4 poweroff_late for systems
with XHCI_RESET_TO_DEFAULT quirk, if wakeup is not enabled.
This reduces the number of self-powered usb devices from surviving in
U3 suspended state into next reboot.
Bootloader/firmware on these systems can't handle usb ports in U3, and
will timeout, causing extra delay during reboot/restore from S4.
Add pci_poweroff_late() callback to struct usb_hcd to get this done at
the correct stage in hibernate.
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions