[PATCH] acpi: fix suspend and resume on Sony Vaio VGN-FW21M

From: Fabio Valentini
Date: Mon Mar 11 2013 - 15:16:46 EST


From: Fabio Valentini <fafatheone@xxxxxxxxx>

Add Sony Vaio VGN-FW21M to the device blacklist in drivers/acpi/sleep.c.
Fixes suspend/resume on this device (device no longer reboots instead of resuming).
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=55001

Signed-off-by: Fabio Valentini <fafatheone@xxxxxxxxx>
---
Patch applies cleanly to latest master (3.9-rc2) and stable (3.8.2).
drivers/acpi/sleep.c | 8 ++++++++
1 file changed, 8 insertions(+)

--- linux/drivers/acpi/sleep.c.orig 2013-03-09 16:46:41.407984555 +0100
+++ linux/drivers/acpi/sleep.c 2013-03-09 16:49:03.693005658 +0100
@@ -193,6 +193,14 @@ static struct dmi_system_id __initdata a
},
{
.callback = init_nvs_nosave,
+ .ident = "Sony Vaio VGN-FW21M",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW21M"),
+ },
+ },
+ {
+ .callback = init_nvs_nosave,
.ident = "Sony Vaio VPCEB17FX",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/