]> git.baikalelectronics.ru Git - kernel.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)
commita6c1829af29bda3a0e3899dff024c540160d7113
treea013d8e4d0497f67d3282a5697d16cddb66a2556
parent472db34b0101aa1c63403ea0ce9a0f8d04095576
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