| From 780a6ec640a3fed671fc2c40e4dd30c03eca3ac3 Mon Sep 17 00:00:00 2001 |
| From: Ash Willis <ashwillis.kernel@gmail.com> |
| Date: Wed, 29 May 2013 01:27:59 +0000 |
| Subject: ACPI / video: ignore BIOS initial backlight value for HP Pavilion g6 |
| |
| From: Ash Willis <ashwillis.kernel@gmail.com> |
| |
| 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> |
| |
| --- |
| drivers/acpi/video.c | 8 ++++++++ |
| 1 file changed, 8 insertions(+) |
| |
| --- a/drivers/acpi/video.c |
| +++ b/drivers/acpi/video.c |
| @@ -449,6 +449,14 @@ static struct dmi_system_id video_dmi_ta |
| }, |
| { |
| .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"), |