aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2013-07-30 15:37:33 -0400
committerGreg Kroah-Hartman <[email protected]>2013-07-31 17:29:03 -0700
commit28e861658e23ca94692f98e245d254c75c8088a7 (patch)
treeaaddbdfa86dfa7890e74c3a9b805dff53b8dc085 /tools/perf/scripts/python/sched-migration.py
parent15b7336e02d998720c5ace47036f7e539365bb05 (diff)
USB: refactor code for enabling/disabling remote wakeup
The hub driver is inconsistent in its organization of code for enabling and disabling remote wakeup. There is a special routine to disable wakeup for SuperSpeed devices but not for slower devices, and there is no special routine to enable wakeup. This patch refactors the code. It renames and changes the existing function to make it handle both SuperSpeed and non-SuperSpeed devices, and it adds a corresponding routine to enable remote wakeup. It also changes the speed determination to look at the device's speed rather than the speed of the parent hub -- this shouldn't make any difference because a SuperSpeed device always has to be attached to a SuperSpeed hub and conversely. Signed-off-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions