aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/suspend.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-07-07 23:43:35 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2010-07-19 02:00:35 +0200
commitd074ee023fa3a4681b64223c5e636102c39628c4 (patch)
tree830000adb529463806773d819fe20d76ac0388c5 /include/linux/suspend.h
parentf6f71f187518477cecc01cd887933b5da19585e6 (diff)
downloadkernel_samsung_aries-d074ee023fa3a4681b64223c5e636102c39628c4.zip
kernel_samsung_aries-d074ee023fa3a4681b64223c5e636102c39628c4.tar.gz
kernel_samsung_aries-d074ee023fa3a4681b64223c5e636102c39628c4.tar.bz2
PM / Hibernate: Fix snapshot error code path
There is an inconsistency between hibernation_platform_enter() and hibernation_snapshot(), because the latter calls hibernation_ops->end() after failing hibernation_ops->begin(), while the former doesn't do that. Make hibernation_snapshot() behave in the same way as hibernation_platform_enter() in that respect. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/suspend.h')
0 files changed, 0 insertions, 0 deletions