linux/drivers/usb/core
Lan Tianyu 971fcd492c usb: add runtime pm support for usb port device
This patch is to add runtime pm callback for usb port device.
Set/clear PORT_POWER feature in the resume/suspend callback.
Add portnum for struct usb_port to record port number. Do
pm_rumtime_get_sync/put(portdev) when a device is plugged/unplugged
to prevent it from being powered off when it is active.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-25 10:12:19 -08:00
..
buffer.c
config.c usb: Fail a get config when the port is powered off. 2012-09-10 13:04:01 -07:00
devices.c usb/core: consider link speed while looking at bMaxPower 2013-01-11 16:16:01 -08:00
devio.c usbdevfs: Fix broken scatter-gather transfer 2012-10-17 13:41:34 -07:00
driver.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-12-13 12:00:02 -08:00
endpoint.c
file.c
generic.c usb/core: consider link speed while looking at bMaxPower 2013-01-11 16:16:01 -08:00
hcd-pci.c
hcd.c USB: Set usb port's DeviceRemovable according acpi information 2013-01-21 13:22:03 -08:00
hub.c usb: add runtime pm support for usb port device 2013-01-25 10:12:19 -08:00
hub.h usb: add runtime pm support for usb port device 2013-01-25 10:12:19 -08:00
Kconfig USB: remove CONFIG_EXPERIMENTAL dependancies 2012-09-17 23:00:15 -07:00
Makefile usb: Add driver/usb/core/(port.c,hub.h) files 2013-01-18 15:49:00 -08:00
message.c usb/core: consider link speed while looking at bMaxPower 2013-01-11 16:16:01 -08:00
notify.c
otg_whitelist.h
port.c usb: add runtime pm support for usb port device 2013-01-25 10:12:19 -08:00
quirks.c USB: Add device quirk for Microsoft VX700 webcam 2013-01-11 16:01:07 -08:00
sysfs.c usb/core: consider link speed while looking at bMaxPower 2013-01-11 16:16:01 -08:00
urb.c USB: report submission of active URBs 2012-11-11 18:10:46 -08:00
usb-acpi.c usb: Register usb port's acpi power resources 2013-01-25 10:07:59 -08:00
usb.c usb-core: remove CONFIG_HOTPLUG ifdefs 2012-11-21 13:27:16 -08:00
usb.h usb: Register usb port's acpi power resources 2013-01-25 10:07:59 -08:00