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 09:25:07 -0700
commit87646a0da17e5368db84a14c506e9df588051acf (patch)
tree143476ed23ba1ba9e34728c449509b7641350491
parentd117eaaa99ceedbf4c73a6dabf2f92d330c3b71b (diff)
downloadlwn-87646a0da17e5368db84a14c506e9df588051acf.tar.gz
lwn-87646a0da17e5368db84a14c506e9df588051acf.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 300266139fcf..6f42a5dc1dab 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -450,6 +450,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"),