Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932433AbcCBA3a (ORCPT ); Tue, 1 Mar 2016 19:29:30 -0500 Received: from mail333.us4.mandrillapp.com ([205.201.137.77]:43800 "EHLO mail333.us4.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756354AbcCAX5a (ORCPT ); Tue, 1 Mar 2016 18:57:30 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=linuxfoundation.org; b=BaZtsYPfDKDtgW9N3/ZISCJmMmLGG/apnc0C0qlkCXSLTBplS58sILwFekLcnrgQk2vNUlgHRs1q NtzyWAu85tKTHpYm+193D+KPPHl8MNN4P4kZ0TG4I+BzP8eDpQLWAWlzEd/rjL3rVSVcTn7EoVpx aLkXGf1QtbGHrIaUmyE=; From: Greg Kroah-Hartman Subject: [PATCH 4.4 242/342] ACPI / video: Add disable_backlight_sysfs_if quirk for the Toshiba Satellite R830 X-Mailer: git-send-email 2.7.2 To: Cc: Greg Kroah-Hartman , , To Do , Hans de Goede , "Rafael J. Wysocki" Message-Id: <20160301234535.739365711@linuxfoundation.org> In-Reply-To: <20160301234527.990448862@linuxfoundation.org> References: <20160301234527.990448862@linuxfoundation.org> X-Report-Abuse: Please forward a copy of this message, including all headers, to abuse@mandrill.com X-Report-Abuse: You can also report abuse here: http://mandrillapp.com/contact/abuse?id=30481620.49b37472e20542a795c25e5b30b6580e X-Mandrill-User: md_30481620 Date: Tue, 01 Mar 2016 23:55:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1257 Lines: 39 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit b21f2e81bd3fd8ed260590e72901254bca2193cd upstream. The Toshiba Satellite R830 needs disable_backlight_sysfs_if=1, just like the Toshiba Portege R830. Add a quirk for this. Link: https://bugzilla.kernel.org/show_bug.cgi?id=21012 Tested-by: To Do Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/acpi_video.c | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/drivers/acpi/acpi_video.c +++ b/drivers/acpi/acpi_video.c @@ -482,6 +482,15 @@ static struct dmi_system_id video_dmi_ta DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE R830"), }, }, + { + /* https://bugzilla.kernel.org/show_bug.cgi?id=21012 */ + .callback = video_disable_backlight_sysfs_if, + .ident = "Toshiba Satellite R830", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), + DMI_MATCH(DMI_PRODUCT_NAME, "SATELLITE R830"), + }, + }, /* * Some machine's _DOD IDs don't have bit 31(Device ID Scheme) set * but the IDs actually follow the Device ID Scheme.