]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
PM / ACPI: Blacklist Vaio VGN-FW520F machine known to require acpi_sleep=nonvs
authorBogdan Radulescu <bogdan@nimblex.net>
Wed, 5 Oct 2011 20:40:21 +0000 (22:40 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 5 Oct 2011 20:40:21 +0000 (22:40 +0200)
Sony Vaio VGN-FW520F 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#c86
Signed-off-by: Bogdan Radulescu <bogdan@nimblex.net>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/acpi/sleep.c

index 8c3e514a343f6bb53ce5354720756e3aeaa0e7ef..28a3e96a902d62af4465cb12d90cc20c97daab8e 100644 (file)
@@ -452,6 +452,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SR26GN_P"),
                },
        },
+       {
+       .callback = init_nvs_nosave,
+       .ident = "Sony Vaio VGN-FW520F",
+       .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW520F"),
+               },
+       },
        {},
 };
 #endif /* CONFIG_SUSPEND */