diff options
| author | Lan Tianyu <[email protected]> | 2013-01-23 04:26:29 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-25 10:12:19 -0800 |
| commit | 971fcd492cebf544714f12d94549d2f0d2002645 (patch) | |
| tree | 553a48486114b3b3b1507cf5dc391f24a464912f /include/linux/timerqueue.h | |
| parent | 6802771bba0455a751d8f4ece7587585be3eaa2f (diff) | |
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 <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Lan Tianyu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions