Browse Source

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 <rjw@sisk.pl>
Acked-by: Len Brown <len.brown@intel.com>
Rafael J. Wysocki 15 years ago
parent
commit
f6f71f1875
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/power/hibernate.c

+ 1 - 1
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;