]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ACPI: add DMI entry for SCI_EN resume quirk on HP dv4
authorGustavo Maciel Dias Vieira <gustavo@sagui.org>
Mon, 19 Oct 2009 11:41:53 +0000 (09:41 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 Jan 2010 18:28:53 +0000 (10:28 -0800)
commit 8a1cbf64977f89e9e9bc1d80dd01503337424f96 upstream.

Fixes the missing battery on sleep problem for yet another HP laptop
("HP Pavilion dv4").

Fixes:
http://bugzilla.kernel.org/show_bug.cgi?id=13449

Signed-off-by: Gustavo Maciel Dias Vieira <gustavo@sagui.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/sleep.c

index e0a74097a978bebbe01caac12c4fd72382a57aa5..a1e61bbfd3bce67a8fd455d045ce63a8e33c0a8d 100644 (file)
@@ -413,6 +413,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
                },
        },
        {
+       .callback = init_set_sci_en_on_resume,
+       .ident = "Hewlett-Packard Pavilion dv4",
+       .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv4"),
+               },
+       },
+       {
        .callback = init_old_suspend_ordering,
        .ident = "Panasonic CF51-2L",
        .matches = {