]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI / video: Add a parameter to not register the backlight sysfs interface
authorHans de Goede <hdegoede@redhat.com>
Tue, 9 Jun 2015 08:32:25 +0000 (10:32 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Jun 2015 11:55:00 +0000 (13:55 +0200)
commit654a182d8562d55a69fdfbd2709e11f6ee1a0aac
tree9b0a5d7121d39a33fbca3dbcf69a665a08715bfb
parent7f5c1882add891f7420a327e908f206fafed3670
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 <sylvain.pasche@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c