]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/2.6.31.12/acpi-add-dmi-entry-for-sci_en-resume-quirk-on-hp-dv4.patch
Linux 2.6.31.12
[thirdparty/kernel/stable-queue.git] / releases / 2.6.31.12 / acpi-add-dmi-entry-for-sci_en-resume-quirk-on-hp-dv4.patch
1 From 8a1cbf64977f89e9e9bc1d80dd01503337424f96 Mon Sep 17 00:00:00 2001
2 From: Gustavo Maciel Dias Vieira <gustavo@sagui.org>
3 Date: Mon, 19 Oct 2009 09:41:53 -0200
4 Subject: ACPI: add DMI entry for SCI_EN resume quirk on HP dv4
5
6 From: Gustavo Maciel Dias Vieira <gustavo@sagui.org>
7
8 commit 8a1cbf64977f89e9e9bc1d80dd01503337424f96 upstream.
9
10 Fixes the missing battery on sleep problem for yet another HP laptop
11 ("HP Pavilion dv4").
12
13 Fixes:
14 http://bugzilla.kernel.org/show_bug.cgi?id=13449
15
16 Signed-off-by: Gustavo Maciel Dias Vieira <gustavo@sagui.org>
17 Signed-off-by: Len Brown <len.brown@intel.com>
18 Cc: Stefan Bader <stefan.bader@canonical.com>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20
21 ---
22 drivers/acpi/sleep.c | 8 ++++++++
23 1 file changed, 8 insertions(+)
24
25 --- a/drivers/acpi/sleep.c
26 +++ b/drivers/acpi/sleep.c
27 @@ -413,6 +413,14 @@ static struct dmi_system_id __initdata a
28 },
29 },
30 {
31 + .callback = init_set_sci_en_on_resume,
32 + .ident = "Hewlett-Packard Pavilion dv4",
33 + .matches = {
34 + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
35 + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv4"),
36 + },
37 + },
38 + {
39 .callback = init_old_suspend_ordering,
40 .ident = "Panasonic CF51-2L",
41 .matches = {