diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2023-04-28 16:00:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-13 10:33:18 +0200 |
commit | 1c024241d018cf9fc17aa8d95c3fe77d671d7142 (patch) | |
tree | e60b43d3ec13ab4dec0fecf456be540ee53d2635 /arch/riscv | |
parent | USB: Extend pci resume function to handle PM events (diff) | |
download | linux-1c024241d018cf9fc17aa8d95c3fe77d671d7142.tar.xz linux-1c024241d018cf9fc17aa8d95c3fe77d671d7142.zip |
xhci: Improve the XHCI system resume time
Avoid extra 120ms delay during system resume.
The xHC controller may signal wake up to 120ms before showing which usb
device caused the wake on the xHC port registers.
The xhci driver therefore checks for port activity up to 120ms during
resume, making sure that the hub driver can see the port change, and
won't immediately runtime suspend back due to no port activity.
This is however only needed for runtime resume as system resume will
resume all child hubs and other child usb devices anyway.
Fixes: 253f588c70f6 ("xhci: Improve detection of device initiated wake signal.")
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20230428140056.1318981-3-Basavaraj.Natikar@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions