OSDN Git Service

ACPI / video: ignore BIOS initial backlight value for HP Pavilion g6
authorAsh Willis <ashwillis.kernel@gmail.com>
Wed, 29 May 2013 01:27:59 +0000 (01:27 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 1 Jun 2013 21:52:44 +0000 (23:52 +0200)
This patch addresses kernel bug 56661. BIOS reports an incorrect
backlight value, causing the driver to switch off the backlight
completely during startup. This patch ignores the incorrect value from
BIOS.

References: https://bugzilla.kernel.org/show_bug.cgi?id=56661
Signed-off-by: Ash Willis <ashwillis@programmer.net>
Cc: All <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c

index d0937ab..5d7075d 100644 (file)
@@ -458,6 +458,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
        },
        {
         .callback = video_ignore_initial_backlight,
+        .ident = "HP Pavilion g6 Notebook PC",
+        .matches = {
+                DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+                DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion g6 Notebook PC"),
+               },
+       },
+       {
+        .callback = video_ignore_initial_backlight,
         .ident = "HP 1000 Notebook PC",
         .matches = {
                DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),