diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-10-24 02:08:30 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-10-24 02:08:30 +0200 |
commit | 34b1f76275a2cb8c1ce8e00095d200552b235122 (patch) | |
tree | 4dbb207a615c79692ccc741103cdb8ab83372bde /drivers/acpi/sleep.c | |
parent | e39473d0b9448e770f49b0b15e514be884264438 (diff) | |
download | linux-34b1f76275a2cb8c1ce8e00095d200552b235122.tar.bz2 |
PM / Domains: Check device PM QoS flags in pm_genpd_poweroff()
Make the generic PM domains pm_genpd_poweroff() function take
device PM QoS flags into account when deciding whether or not to
remove power from the domain.
After this change the routine will return -EBUSY without executing
the domain's .power_off() callback if there is at least one PM QoS
flags request for at least one device in the domain and at least of
those request has at least one of the NO_POWER_OFF and REMOTE_WAKEUP
flags set.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: mark gross <markgross@thegnar.org>
Diffstat (limited to 'drivers/acpi/sleep.c')
0 files changed, 0 insertions, 0 deletions