diff options
| author | Dan Williams <[email protected]> | 2014-06-05 21:23:04 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-06-17 23:44:57 +0000 |
| commit | e3d9558082061481af96b588583e0cf220c2943c (patch) | |
| tree | 07a23191fcf8a7adc7134a64553149436190c600 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | Linux 3.16-rc1 (diff) | |
| download | kernel-e3d9558082061481af96b588583e0cf220c2943c.tar.gz kernel-e3d9558082061481af96b588583e0cf220c2943c.zip | |
usb: fix ->update_hub_device() vs hdev->maxchild
Commit d8521afe3586 "usb: assign default peer ports for root hubs"
delayed marking a hub valid (set hdev->maxchild) until it had been fully
configured and to enable the publishing of valid hubs to be serialized
by usb_port_peer_mutex.
However, xhci_update_hub_device() in some cases depends on
hdev->maxchild already being set. Do the minimal fix and move it after
the setting of hdev->maxchild.
Cc: Mathias Nyman <[email protected]>
Reported-by: Valdis Kletnieks <[email protected]>
Tested-by: Valdis Kletnieks <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions
