Return-Path: Message-Id: <20130703184059.473706974@goodmis.org> Date: Wed, 03 Jul 2013 14:40:24 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Ash Willis , "Rafael J. Wysocki" Subject: [087/141] ACPI / video: ignore BIOS initial backlight value for HP Pavilion g6 References: <20130703183857.307196999@goodmis.org> Content-Disposition: inline; filename=0087-ACPI-video-ignore-BIOS-initial-backlight-value-for-H.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: 3.6.11.6 stable review patch. If anyone has any objections, please let me know. ------------------ From: Ash Willis [ Upstream commit 780a6ec640a3fed671fc2c40e4dd30c03eca3ac3 ] 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 Cc: All Signed-off-by: Rafael J. Wysocki Signed-off-by: Steven Rostedt --- drivers/acpi/video.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index ecdd2d7..69b1677 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"), -- 1.7.10.4