ACPI / PM: Do not save/restore NVS on Sony Vaio VGN-NW130D
authorRafael J. Wysocki <[email protected]>
Sun, 12 Dec 2010 20:10:42 +0000 (21:10 +0100)
committerLen Brown <[email protected]>
Tue, 14 Dec 2010 03:40:38 +0000 (22:40 -0500)
The saving of the NVS memory area during suspend and restoring it
during resume causes problems to appear on Sony Vaio VGN-NW130D, so
blacklist that machine to avoid those problems.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=23002

Signed-off-by: Rafael J. Wysocki <[email protected]>
Reported-and-tested-by: Adriano <[email protected]>
Signed-off-by: Len Brown <[email protected]>
drivers/acpi/sleep.c

index 721d93b3ceee78c3b271f5f84ffe4fc795e435e1..d8149424c8125b787e593003bb98bbfde8b3d3bc 100644 (file)
@@ -427,6 +427,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
                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 */