Commit 818f9ec0 authored by Andrew Morton's avatar Andrew Morton Committed by Patrick Mochel

[PATCH] swsusp: do not disable platform swsusp because S4bios is available

From: Pavel Machek <pavel@ucw.cz>

Currently, when both S4 and S4bios are available, swsusp always chooses
S4bios and makes S4 unavailable.  Bad idea as S4bios needs completely
different setup.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent f832c11d
......@@ -217,7 +217,8 @@ static int __init acpi_sleep_init(void)
sleep_states[i] = 1;
printk(" S4bios");
acpi_pm_ops.pm_disk_mode = PM_DISK_FIRMWARE;
} else if (sleep_states[i])
}
if (sleep_states[i])
acpi_pm_ops.pm_disk_mode = PM_DISK_PLATFORM;
}
}
......
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