Patchwork ACPI / PM: Do not save/restore NVS on Sony Vaio VGN-NW130D

login
register
mail settings
Submitter Rafael Wysocki
Date Dec. 12, 2010, 8:10 p.m.
Message ID <201012122110.42717.rjw@sisk.pl>
Download mbox | patch
Permalink /patch/401512/
State New, archived
Headers show

Comments

Patch

Index: linux-2.6/drivers/acpi/sleep.c
===================================================================
--- linux-2.6.orig/drivers/acpi/sleep.c
+++ linux-2.6/drivers/acpi/sleep.c
@@ -427,6 +427,14 @@  static struct dmi_system_id __initdata a
 		DMI_MATCH(DMI_PRODUCT_NAME, "VPCEB1Z1E"),
 		},
 	},
+	{
+	.callback = init_nvs_nosave,
+	.ident = "Sony Vaio VGN-NW130D",
+	.matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "VGN-NW130D"),
+		},
+	},
 	{},
 };
 #endif /* CONFIG_SUSPEND */