From: Rafael J. Wysocki Date: Wed, 7 Jul 2010 21:43:18 +0000 (+0200) Subject: PM / Hibernate: Fix hibernation_platform_enter() X-Git-Tag: v2.6.36-rc1~577^2~5 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=f6f71f187518477cecc01cd887933b5da19585e6;p=net-next-2.6.git PM / Hibernate: Fix hibernation_platform_enter() The hibernation_platform_enter() function calls dpm_suspend_noirq() instead of dpm_resume_noirq() by mistake. Fix this. Signed-off-by: Rafael J. Wysocki Acked-by: Len Brown --- diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index f6120291663..d97ba8615c3 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c @@ -530,7 +530,7 @@ int hibernation_platform_enter(void) Platform_finish: hibernation_ops->finish(); - dpm_suspend_noirq(PMSG_RESTORE); + dpm_resume_noirq(PMSG_RESTORE); Resume_devices: entering_platform_hibernation = false;