Commit 19318566 authored by Andrew Morton's avatar Andrew Morton Committed by Patrick Mochel

[PATCH] swsusp: fix default powerdown mode

From: Pavel Machek <pavel@ucw.cz>

I'd like new swsusp to default to powerdown mode (as it did before) before
it goes up.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent 818f9ec0
...@@ -33,8 +33,6 @@ void pm_set_ops(struct pm_ops * ops) ...@@ -33,8 +33,6 @@ void pm_set_ops(struct pm_ops * ops)
{ {
down(&pm_sem); down(&pm_sem);
pm_ops = ops; pm_ops = ops;
if (ops->pm_disk_mode && ops->pm_disk_mode < PM_DISK_MAX)
pm_disk_mode = ops->pm_disk_mode;
up(&pm_sem); up(&pm_sem);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment