diff options
author | Lan Tianyu <tianyu.lan@intel.com> | 2013-01-22 21:26:29 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-25 19:12:19 +0100 |
commit | 971fcd492cebf544714f12d94549d2f0d2002645 (patch) | |
tree | 553a48486114b3b3b1507cf5dc391f24a464912f /drivers/usb/musb | |
parent | PM/Qos: Expose dev_pm_qos_flags symbol (diff) | |
download | linux-971fcd492cebf544714f12d94549d2f0d2002645.tar.xz linux-971fcd492cebf544714f12d94549d2f0d2002645.zip |
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>
Diffstat (limited to 'drivers/usb/musb')
0 files changed, 0 insertions, 0 deletions