diff options
author | Mathias Nyman <[email protected]> | 2017-01-03 18:28:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-01-03 17:37:32 +0100 |
commit | ee8665e28e8d90ce69d4abe5a469c14a8707ae0e (patch) | |
tree | bfbcdd5a93b2a1d1f2d3425535fe74aa448ea30d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8d6bbff67796262b5296b745989e4c9d9f2b4894 (diff) |
xhci: free xhci virtual devices with leaf nodes first
the tt_info provided by a HS hub might be in use to by a child device
Make sure we free the devices in the correct order.
This is needed in special cases such as when xhci controller is
reset when resuming from hibernate, and all virt_devices are freed.
Also free the virt_devices starting from max slot_id as children
more commonly have higher slot_id than parent.
CC: <[email protected]>
Reported-by: Guenter Roeck <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions