]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
toshiba_acpi: Fix regression caused by backlight extra check code
authorAzael Avalos <coproscefalo@gmail.com>
Tue, 25 Nov 2014 02:29:36 +0000 (19:29 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 3 Dec 2014 18:10:14 +0000 (10:10 -0800)
commita39f46df33c6847399f9b41b74ef09a4095fb996
treea013d8e4d0497f67d3282a5697d16cddb66a2556
parent841e11ccdf90c29a7778a5d5d553bc716c3d477a
toshiba_acpi: Fix regression caused by backlight extra check code

Bug 86521 uncovered that some TOS6208 devices also return
non zero values on a write call to the backlight method,
thus getting caught and bailed out by the extra check code.

This patch changes the set_lcd_brightness function to its
"original" state by just adapting it to the new function
format.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c