From: Hans de Goede Date: Tue, 9 Jun 2015 08:32:25 +0000 (+0200) Subject: ACPI / video: Add a parameter to not register the backlight sysfs interface X-Git-Tag: omap-for-v4.2/fixes-rc1^2~154^2~10^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=654a182d8562d55a69fdfbd2709e11f6ee1a0aac;p=pandora-kernel.git ACPI / video: Add a parameter to not register the backlight sysfs interface On some systems acpi-video backlight is broken in the sense that it cannot control the brightness of the backlight, but it must still be called on resume to power-up the backlight after resume. This commit allows these systems to work by going through all the usual backlight control moves, while not registering a sysfs backlight interface. This commit also adds a quirk enabling this parameter on Toshiba Portege R830 systems which are known to be affected by this. I wish there was a better way to deal with this, but we've been unable to find one. Link: https://bugzilla.kernel.org/show_bug.cgi?id=21012 Link: https://bugs.freedesktop.org/show_bug.cgi?id=82634 Reported-and-tested-by: Sylvain Pasche Signed-off-by: Hans de Goede Acked-by: Aaron Lu Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed