Skip to content

Commit

Permalink
PM / Hibernate: Fix hibernation_platform_enter()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafael J. Wysocki committed Jul 19, 2010
1 parent 82f6825 commit f6f71f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/power/hibernate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f6f71f1

Please sign in to comment.