mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6: PM: check sysdev_suspend(PMSG_FREEZE) return value
This commit is contained in:
commit
86460103c4
1 changed files with 2 additions and 2 deletions
|
@ -241,9 +241,9 @@ static int create_image(int platform_mode)
|
|||
|
||||
local_irq_disable();
|
||||
|
||||
sysdev_suspend(PMSG_FREEZE);
|
||||
error = sysdev_suspend(PMSG_FREEZE);
|
||||
if (error) {
|
||||
printk(KERN_ERR "PM: Some devices failed to power down, "
|
||||
printk(KERN_ERR "PM: Some system devices failed to power down, "
|
||||
"aborting hibernation\n");
|
||||
goto Enable_irqs;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue