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)
committerLen Brown <len.brown@intel.com>
Fri, 6 Nov 2009 04:04:32 +0000 (23:04 -0500)
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>
drivers/acpi/sleep.c

index a90afcc723ab396d9dc1b215553f14ba47f51fcd..ed9760aa7aa20946720852b2c6c404a14bfdf786 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 = {