kernel-fxtec-pro1x/drivers/base/power
Rafael J. Wysocki 55d7ec4520 PM / Runtime: Check device PM QoS setting before "no callbacks" check
If __dev_pm_qos_read_value(dev) returns a negative value,
rpm_suspend() should return -EPERM for dev even if its
power.no_callbacks flag is set.  For this to happen, the device's
power.no_callbacks flag has to be checked after the PM QoS check,
so move the PM QoS check to rpm_check_suspend_allowed() (this will
make it cover idle notifications as well as runtime suspend too).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable@vger.kernel.org
2012-08-17 19:36:36 +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: Make dev_pm_get_subsys_data() always return 0 on success 2012-08-08 20:49:33 +02:00
domain.c PM / Domains: Fix build warning for CONFIG_PM_RUNTIME unset 2012-07-12 22:39:49 +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 Merge branch 'pm-sleep' 2012-07-19 10:39:21 +02:00
Makefile PM / Domains: Add device stop governor function (v4) 2011-12-01 21:47:40 +01:00
opp.c device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
power.h PM / Sleep: Separate printing suspend times from initcall_debug 2012-07-01 13:31:23 +02:00
qos.c PM / QoS: Use NULL pointer instead of plain integer in qos.c 2012-07-19 00:02:36 +02:00
runtime.c PM / Runtime: Check device PM QoS setting before "no callbacks" check 2012-08-17 19:36:36 +02:00
sysfs.c PM / Sleep: Fix build warning in sysfs.c for CONFIG_PM_SLEEP unset 2012-07-12 22:40:02 +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 / Sleep: Add user space interface for manipulating wakeup sources, v3 2012-05-01 21:26:05 +02:00