diff options
| author | 2013-01-23 04:26:32 +0800 | |
|---|---|---|
| committer | 2013-01-25 10:14:20 -0800 | |
| commit | 192fef18d0f5ac9a05a93ff6314fc9865c10fbf9 (patch) | |
| tree | 200d5fb4bf44c30f3fd12d427e34d796ee9cc0d1 /include/linux/platform_data | |
| parent | usb: expose usb port's pm qos flags to user space (diff) | |
| download | linux-dev-192fef18d0f5ac9a05a93ff6314fc9865c10fbf9.tar.xz linux-dev-192fef18d0f5ac9a05a93ff6314fc9865c10fbf9.zip | |
usb: enable usb port device's async suspend.
This patch is to set power.async_suspend for usb port in order
to allow it to be suspended and resumed asynchronously during
system sleep transitions.
The power.async_suspend flag is also set for devices that don't have
suspend or resume callbacks, because otherwise they would make the
main suspend/resume thread wait for their "asynchronous" children
(during suspend) or parents (during resume), effectively negating the
possible gains from executing these devices' suspend and resume
callbacks asynchronously.
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
