]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] swsusp: fix platform mode
authorStefan Seyfried <seife@suse.de>
Thu, 7 Dec 2006 04:34:21 +0000 (20:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:27 +0000 (08:39 -0800)
commit2ace1c2c391309dc015793fb04d6a6364c085949
tree90ae9235bcffc08fea77741596c65727e80bc023
parent75f7dfd5b9df7f4615222eb5354855f5e6635a75
[PATCH] swsusp: fix platform mode

At some point after 2.6.13, in-kernel software suspend got "incomplete" for
the so-called "platform" mode.  pm_ops->prepare() is never called.  A
visible sign of this is the "moon" light on thinkpads not flashing during
suspend.  Fix by readding the pm_ops->prepare call during suspend.

Signed-off-by: Stefan Seyfried <seife@suse.de>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/disk.c