linux/kernel/power
Imre Deak 99af830756 PM / Sleep: fix recovery during resuming from hibernation
commit 94fb823fcb upstream.

If a device's dev_pm_ops::freeze callback fails during the QUIESCE
phase, we don't rollback things correctly calling the thaw and complete
callbacks. This could leave some devices in a suspended state in case of
an error during resuming from hibernation.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-14 09:00:10 -08:00
..
autosleep.c PM / Sleep: avoid 'autosleep' in shutdown progress 2013-07-15 01:31:37 +02:00
block_io.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
console.c arm, pm, vmpressure: add missing slab.h includes 2014-02-03 13:24:01 -05:00
hibernate.c PM / Sleep: fix recovery during resuming from hibernation 2014-11-14 09:00:10 -08:00
Kconfig PM / Sleep: Detect device suspend/resume lockup and log event 2013-10-18 13:33:08 +02:00
main.c PM / sleep: Use valid_state() for platform-dependent sleep states only 2014-10-05 14:52:24 -07:00
Makefile PM / Sleep: Add user space interface for manipulating wakeup sources, v3 2012-05-01 21:26:05 +02:00
power.h PM / sleep: Use valid_state() for platform-dependent sleep states only 2014-10-05 14:52:24 -07:00
poweroff.c power/sysrq: fix inconstistent help message of sysrq key 2013-04-30 17:04:10 -07:00
process.c OOM, PM: OOM killed task shouldn't escape PM suspend 2014-11-14 09:00:01 -08:00
qos.c PM / QoS: simplify pm_qos_power_write() 2013-10-17 22:52:20 +02:00
snapshot.c kernel/power/snapshot.c: use memblock apis for early memory allocations 2014-01-21 16:19:47 -08:00
suspend_test.c PM / sleep: Use valid_state() for platform-dependent sleep states only 2014-10-05 14:52:24 -07:00
suspend.c PM / sleep: Use valid_state() for platform-dependent sleep states only 2014-10-05 14:52:24 -07:00
swap.c PM / Hibernate: use rb_entry 2012-11-15 00:37:08 +01:00
user.c Merge branch 'pm-sleep' 2013-11-19 01:07:08 +01:00
wakelock.c PM / Sleep: Require CAP_BLOCK_SUSPEND to use wake_lock/wake_unlock 2012-07-19 00:00:58 +02:00