]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ata_piix: VGN-BX297XP wants the controller power up on suspend
authorTejun Heo <tj@kernel.org>
Tue, 31 Mar 2009 01:44:34 +0000 (10:44 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 7 Apr 2009 00:00:43 +0000 (20:00 -0400)
Sony VGN-BX297XP fails suspend if the controller is powered down when
calling into ACPI suspend.  Add the machine to piix_broken_suspend
list.

This problem was reported by GNUtoo@no-log.org on bko#10293.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Reported-by: GNUtoo@no-log.org
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ata_piix.c

index e5cbe80ce172a8db5ba9de325ec1a0d5db1fcce5..942d14ac87924973c0574b502d4d3dffbc0bd3e0 100644 (file)
@@ -1053,6 +1053,13 @@ static int piix_broken_suspend(void)
                                DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE M500"),
                        },
                },
+               {
+                       .ident = "VGN-BX297XP",
+                       .matches = {
+                               DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+                               DMI_MATCH(DMI_PRODUCT_NAME, "VGN-BX297XP"),
+                       },
+               },
 
                { }     /* terminate list */
        };