linux-kernel-test/drivers/base/power
Ulf Hansson aa1b9f13b3 PM / Runtime: Fix error path for prepare
If a device prepare callback for some reason would fail, the PM core
prevented the device from going inactive forever.

In this case, to reverse the pm_runtime_get_noresume() we invokes the
asyncronous pm_runtime_put(), thus restoring the usage count.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-11-14 00:48:19 +01:00
..
clock_ops.c base: power - use clk_prepare_enable and clk_prepare_disable 2012-11-15 00:36:43 +01:00
common.c PM: Avoid calling kfree() under spinlock in dev_pm_put_subsys_data() 2013-05-12 14:04:40 +02:00
domain_governor.c PM / Domains: Fix computation of maximum domain off time 2012-05-11 21:11:44 +02:00
domain.c PM / Runtime: Rework the "runtime idle" helper routine 2013-06-03 21:49:52 +02:00
generic_ops.c PM / Runtime: Rework the "runtime idle" helper routine 2013-06-03 21:49:52 +02:00
main.c PM / Runtime: Fix error path for prepare 2013-11-14 00:48:19 +01:00
Makefile PM / Domains: Add device stop governor function (v4) 2011-12-01 21:47:40 +01:00
opp.c PM / OPP: Export opp_add() 2013-08-06 16:08:28 +02:00
power.h PM / QoS: Remove device PM QoS sysfs attributes at the right place 2013-03-04 14:23:12 +01:00
qos.c PM / QoS: Add dev_pm_qos_request tracepoints 2013-06-24 13:09:03 +02:00
runtime.c PM / Runtime: Respect autosuspend when idle triggers suspend 2013-10-16 02:06:57 +02:00
sysfs.c driver core: replace strict_strto*() with kstrto*() 2013-07-26 18:02:43 -07: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: Print last wakeup source on failed wakeup_count write 2013-06-21 00:35:12 +02:00