diff mbox

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

Message ID 1363029394.3138.3.camel@fafadora.lan (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Fabio Valentini March 11, 2013, 7:16 p.m. UTC
From: Fabio Valentini <fafatheone@gmail.com>

    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@gmail.com>
---
    Patch applies cleanly to latest master (3.9-rc2) and stable (3.8.2).
     drivers/acpi/sleep.c | 8 ++++++++
     1 file changed, 8 insertions(+)



--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Rafael Wysocki March 26, 2013, 1:27 p.m. UTC | #1
On Monday, March 11, 2013 08:16:34 PM Fabio Valentini wrote:
>     From: Fabio Valentini <fafatheone@gmail.com>
> 
>     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@gmail.com>

Applied to linux-pm.git/linux-next.

Thanks,
Rafael


> ---
>     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-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 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"),