diff options
author | 2014-05-20 18:08:12 -0700 | |
---|---|---|
committer | 2014-05-27 16:35:09 -0700 | |
commit | 9262c19d14c433a6a1ba25c3ff897cb89e412309 (patch) | |
tree | 50f83b859b251a3e842953e4fb9619a05ece02da /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | USB: mutual exclusion for resetting a hub and power-managing a port (diff) | |
download | linux-dev-9262c19d14c433a6a1ba25c3ff897cb89e412309.tar.xz linux-dev-9262c19d14c433a6a1ba25c3ff897cb89e412309.zip |
usb: disable port power control if not supported in wHubCharacteristics
A hub indicates whether it supports per-port power control via the
wHubCharacteristics field in its descriptor. If it is not supported
a hub will still emulate ClearPortPower(PORT_POWER) requests by
stopping the link state machine. However, since this does not save
power do not bother suspending.
This also consolidates support checks into a
hub_is_port_power_switchable() helper.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions