summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsh Willis <ashwillis.kernel@gmail.com>2013-05-29 01:27:59 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-13 10:49:15 -0700
commit2089bfbd513b6e59b61d462eb27e94704b0c2098 (patch)
tree16242c109cfaea40aba4273cffbfeb1ae261d965
parent6180b5e1367b5d6eee5ae3cfe0c38270a973464f (diff)
downloadlwn-2089bfbd513b6e59b61d462eb27e94704b0c2098.tar.gz
lwn-2089bfbd513b6e59b61d462eb27e94704b0c2098.zip
ACPI / video: ignore BIOS initial backlight value for HP Pavilion g6
commit 780a6ec640a3fed671fc2c40e4dd30c03eca3ac3 upstream. 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> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/acpi/video.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 80938cb7d0d4..81a9335092f6 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -449,6 +449,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 Pavilion m4",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),