linux-imx/kernel/power
Imre Deak cdeecb8176 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: Ben Hutchings <ben@decadent.org.uk>
2014-12-14 16:23:52 +00:00
..
block_io.c block: kill off REQ_UNPLUG 2011-03-10 08:52:27 +01:00
console.c PM / VT: Cleanup #if defined uglyness and fix compile error 2011-10-16 23:28:51 +02:00
hibernate.c PM / Sleep: fix recovery during resuming from hibernation 2014-12-14 16:23:52 +00:00
Kconfig Merge branch 'devel-stable' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm 2011-10-28 12:02:27 -07:00
main.c PM / Suspend: Fix bug in suspend statistics update 2011-11-19 14:37:57 +01:00
Makefile PM / VT: Cleanup #if defined uglyness and fix compile error 2011-10-16 23:28:51 +02:00
power.h PM / Hibernate: Thaw processes in SNAPSHOT_CREATE_IMAGE ioctl test path 2012-02-13 11:16:56 -08:00
poweroff.c Input: sysrq - drop tty argument from sysrq ops handlers 2010-08-19 22:07:06 -07:00
process.c PM / Hibernate: Fix s2disk regression related to freezing workqueues 2012-02-13 11:16:55 -08:00
qos.c PM / QoS: Set cpu_dma_pm_qos->name 2011-11-07 23:02:24 +01:00
snapshot.c PM / hibernate: Avoid overflow in hibernate_preallocate_memory() 2014-01-03 04:33:17 +00:00
suspend_test.c PM: Make warning in suspend_test_finish() less likely to happen 2009-10-22 08:23:45 +09:00
suspend.c ftrace: Disable function tracing during suspend/resume and hibernation, again 2012-08-02 14:37:43 +01:00
swap.c PM / Hibernate: Hibernate/thaw fixes/improvements 2012-07-25 04:11:19 +01:00
user.c PM / Hibernate: Thaw kernel threads in SNAPSHOT_CREATE_IMAGE ioctl path 2012-02-13 11:16:56 -08:00