linux/drivers/base/power
Rafael J. Wysocki 34b1f76275 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>
2012-10-24 02:08:30 +02:00
..
clock_ops.c PM: Make dev_pm_get_subsys_data() always return 0 on success 2012-08-08 20:49:33 +02:00
common.c PM: Do not use the syscore flag for runtime PM 2012-09-04 01:36:05 +02:00
domain.c PM / Domains: Check device PM QoS flags in pm_genpd_poweroff() 2012-10-24 02:08:30 +02:00
domain_governor.c PM / Domains: Fix computation of maximum domain off time 2012-05-11 21:11:44 +02:00
generic_ops.c PM / Sleep: Introduce generic callbacks for new device PM phases 2012-01-29 20:38:41 +01:00
main.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
Makefile PM / Domains: Add device stop governor function (v4) 2011-12-01 21:47:40 +01:00
opp.c PM / OPP: Initialize OPP table from device tree 2012-09-09 22:06:33 +02:00
power.h PM / QoS: Make it possible to expose PM QoS device flags to user space 2012-10-24 02:08:18 +02:00
qos.c PM / QoS: Make it possible to expose PM QoS device flags to user space 2012-10-24 02:08:18 +02:00
runtime.c PM / Runtime: let rpm_resume() succeed if RPM_ACTIVE, even when disabled, v2 2012-09-22 21:15:08 +02:00
sysfs.c PM / QoS: Make it possible to expose PM QoS device flags to user space 2012-10-24 02:08:18 +02:00
trace.c drivers/base: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required. 2011-10-31 19:31:38 -04:00
wakeup.c PM / wakeup: Use irqsave/irqrestore for events_lock 2012-09-06 23:19:06 +02:00