projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f6825
)
PM / Hibernate: Fix hibernation_platform_enter()
author
Rafael J. Wysocki
<rjw@sisk.pl>
Wed, 7 Jul 2010 21:43:18 +0000
(23:43 +0200)
committer
Rafael J. Wysocki
<rjw@sisk.pl>
Mon, 19 Jul 2010 00:00:35 +0000
(
02:00
+0200)
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>
kernel/power/hibernate.c
patch
|
blob
|
history
diff --git
a/kernel/power/hibernate.c
b/kernel/power/hibernate.c
index f61202916631db8cf972c4c68d2f9ec7934dc45e..d97ba8615c30ea1903937469ff1cf2daedb8ed4d 100644
(file)
--- 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;