]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/base/power/main.c
PM / Runtime: Asyncronous idle|suspend devices at system resume
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 12 Apr 2013 09:41:06 +0000 (09:41 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 12 Apr 2013 11:34:57 +0000 (13:34 +0200)
commitaf93933974d7b4dd1f9003e50bae239760fc7978
tree924b702fbb17f810b7c76355adc6d9313ca839f0
parent31880c37c11e28cb81c70757e38392b42e695dc6
PM / Runtime: Asyncronous idle|suspend devices at system resume

Use the asyncronous runtime PM API when returning the runtime
reference for the device after the system resume is completed.

By using the asyncronous runtime PM API we don't have to wait
for each an every device to become idle|suspended. Instead we
can move on and handle the next device in queue.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c
drivers/base/power/generic_ops.c
drivers/base/power/main.c