linux/drivers/usb/core
Dan Williams 9262c19d14 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>
2014-05-27 16:35:09 -07:00
..
buffer.c
config.c Merge 3.14-rc6 into usb-next 2014-03-12 11:40:15 -07:00
devices.c
devio.c USB patches for 3.15-rc1 2014-04-01 17:06:09 -07:00
driver.c USB: unbind all interfaces before rebinding any 2014-03-17 16:08:27 -07:00
endpoint.c
file.c
generic.c
hcd-pci.c usb: remove redundant D0 power state set 2014-05-27 15:18:48 -07:00
hcd.c USB: separate usb_address0 mutexes for each bus 2014-05-27 16:11:49 -07:00
hub.c usb: disable port power control if not supported in wHubCharacteristics 2014-05-27 16:35:09 -07:00
hub.h usb: disable port power control if not supported in wHubCharacteristics 2014-05-27 16:35:09 -07:00
Kconfig usb: common: rename phy-fsm-usb.c to usb-otg-fsm.c 2014-05-27 15:29:44 -07:00
Makefile
message.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2014-04-02 16:23:38 -07:00
notify.c
otg_whitelist.h
port.c usb: disable port power control if not supported in wHubCharacteristics 2014-05-27 16:35:09 -07:00
quirks.c
sysfs.c
urb.c
usb-acpi.c ACPI and power management updates for 3.14-rc1 2014-01-24 15:51:02 -08:00
usb.c
usb.h USB patches for 3.15-rc1 2014-04-01 17:06:09 -07:00