]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.4.49/acpi-video-ignore-bios-initial-backlight-value-for-hp-pavilion-g6.patch
5.1-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.4.49 / acpi-video-ignore-bios-initial-backlight-value-for-hp-pavilion-g6.patch
1 From 780a6ec640a3fed671fc2c40e4dd30c03eca3ac3 Mon Sep 17 00:00:00 2001
2 From: Ash Willis <ashwillis.kernel@gmail.com>
3 Date: Wed, 29 May 2013 01:27:59 +0000
4 Subject: ACPI / video: ignore BIOS initial backlight value for HP Pavilion g6
5
6 From: Ash Willis <ashwillis.kernel@gmail.com>
7
8 commit 780a6ec640a3fed671fc2c40e4dd30c03eca3ac3 upstream.
9
10 This patch addresses kernel bug 56661. BIOS reports an incorrect
11 backlight value, causing the driver to switch off the backlight
12 completely during startup. This patch ignores the incorrect value from
13 BIOS.
14
15 References: https://bugzilla.kernel.org/show_bug.cgi?id=56661
16 Signed-off-by: Ash Willis <ashwillis@programmer.net>
17 Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19
20 ---
21 drivers/acpi/video.c | 8 ++++++++
22 1 file changed, 8 insertions(+)
23
24 --- a/drivers/acpi/video.c
25 +++ b/drivers/acpi/video.c
26 @@ -449,6 +449,14 @@ static struct dmi_system_id video_dmi_ta
27 },
28 {
29 .callback = video_ignore_initial_backlight,
30 + .ident = "HP Pavilion g6 Notebook PC",
31 + .matches = {
32 + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
33 + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion g6 Notebook PC"),
34 + },
35 + },
36 + {
37 + .callback = video_ignore_initial_backlight,
38 .ident = "HP Pavilion m4",
39 .matches = {
40 DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),