]> 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)
commitaaeb5a64b993c9ccfc9fa3ccd678452f28580f1f
treea013d8e4d0497f67d3282a5697d16cddb66a2556
parent7030084b375202ec80d9bba2ea11161f9e158ad1
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