diff mbox

ACPI / PM: Do not save/restore NVS on Sony Vaio VPCEB1J1E

Message ID 1309935480-3865-1-git-send-email-lucab@debian.org (mailing list archive)
State New, archived
Headers show

Commit Message

Luca Bruno July 6, 2011, 6:58 a.m. UTC
Sony Vaio VPCEB1J1E requires acpi_sleep=nonvs for correct
suspend/resume. This model is similar to the VPCEB1Z1E, already
blacklisted. Blacklisting this one too.

Signed-off-by: Luca Bruno <lucab@debian.org>
---
 drivers/acpi/sleep.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 6c94960..96f55c5 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -406,6 +406,14 @@  static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
 	},
 	{
 	.callback = init_nvs_nosave,
+	.ident = "Sony Vaio VPCEB1J1E",
+	.matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "VPCEB1J1E"),
+		},
+	},
+	{
+	.callback = init_nvs_nosave,
 	.ident = "Sony Vaio VPCEB1Z1E",
 	.matches = {
 		DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),