aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHenry Lin <[email protected]>2022-03-03 13:08:58 +0200
committerGreg Kroah-Hartman <[email protected]>2022-03-03 15:46:07 +0100
commit70c05e4cf63054cd755ca66c1819327b22cb085f (patch)
tree66b3688362619e0a7bbbedcaa8b4602c22c4bc9e /tools/perf/scripts/python/bin
parent05519b8589a679edb8fa781259893d20bece04ad (diff)
xhci: fix runtime PM imbalance in USB2 resume
A race between system resume and device-initiated resume may result in runtime PM imbalance on USB2 root hub. If a device-initiated resume starts and system resume xhci_bus_resume() directs U0 before hub driver sees the resuming device in RESUME state, device-initiated resume will not be finished in xhci_handle_usb2_port_link_resume(). In this case, usb_hcd_end_port_resume() call is missing. This changes calls usb_hcd_end_port_resume() if resuming device reaches U0 to keep runtime PM balance. Fixes: a231ec41e6f6 ("xhci: refactor U0 link state handling in get_port_status") Cc: [email protected] Signed-off-by: Henry Lin <[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]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions