aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@canonical.com>2013-05-27 22:05:09 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-06-01 17:52:28 -0400
commitfedbe9bc6fd3e14b1ffbb3dac407777ac4a3650c (patch)
tree1080bf4644007de8a2a588ac079d299608efde4b /drivers/acpi
parentaf1d486c18bad7820b0ca52b413458914231102c (diff)
ACPI / video: ignore BIOS initial backlight value for HP m4
On HP m4 lapops, BIOS reports minimum backlight on boot and causes backlight to dim completely. This ignores the initial backlight values and set to max brightness. References: https://bugs.launchpad.net/bugs/1184501 Cc: All <stable@vger.kernel.org> Signed-off-by: Alex Hung <alex.hung@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-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 5b32e15a65ce..d0937ab3fb6d 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -464,6 +464,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
464 DMI_MATCH(DMI_PRODUCT_NAME, "HP 1000 Notebook PC"), 464 DMI_MATCH(DMI_PRODUCT_NAME, "HP 1000 Notebook PC"),
465 }, 465 },
466 }, 466 },
467 {
468 .callback = video_ignore_initial_backlight,
469 .ident = "HP Pavilion m4",
470 .matches = {
471 DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
472 DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion m4 Notebook PC"),
473 },
474 },
467 {} 475 {}
468}; 476};
469 477