]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Sleep: fix recovery during resuming from hibernation
authorImre Deak <imre.deak@intel.com>
Fri, 24 Oct 2014 17:29:10 +0000 (20:29 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Oct 2014 17:42:26 +0000 (18:42 +0100)
commit459d41b5d4bff7d32115426542fd02e4701dad4c
tree3e7ea9191719304aeb6daff1be69a94b907aa7a0
parent73e25101e41aed10c0a6beda8b84590a6a9d0c6a
PM / Sleep: fix recovery during resuming from hibernation

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>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/hibernate.c