PM / ACPI: Blacklist Sony Vaio known to require acpi_sleep=nonvs
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 6 Oct 2011 18:35:03 +0000 (20:35 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 16 Oct 2011 21:30:36 +0000 (23:30 +0200)
Apparently, Sony Vaio VGN-SR26GN_P does not resume correctly without
acpi_sleep=nonvs, so add it to the ACPI sleep blacklist.

References: https://bugzilla.kernel.org/show_bug.cgi?id=16396#c91
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/acpi/sleep.c

index 3ed80b2ca9078b18951d69cd00928f3dbcc53fbd..8c3e514a343f6bb53ce5354720756e3aeaa0e7ef 100644 (file)
@@ -444,6 +444,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
                DMI_MATCH(DMI_BOARD_NAME, "A8N-SLI Premium"),
                },
        },
+       {
+       .callback = init_nvs_nosave,
+       .ident = "Sony Vaio VGN-SR26GN_P",
+       .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SR26GN_P"),
+               },
+       },
        {},
 };
 #endif /* CONFIG_SUSPEND */