]> git.baikalelectronics.ru Git - kernel.git/commit
toshiba_acpi: Fix blank screen at boot if transflective backlight is supported
authorAzael Avalos <coproscefalo@gmail.com>
Mon, 16 Nov 2015 03:32:47 +0000 (20:32 -0700)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 21 Nov 2015 00:43:13 +0000 (16:43 -0800)
commit6f156a992ae827a30fd4e1e163e6142becebd557
tree5f94af9cd1cfaa9ca5217ede976c332b74010d4f
parenta8d14711dfc2bba1c1614ce214fc378e9b723ea7
toshiba_acpi: Fix blank screen at boot if transflective backlight is supported

If transflective backlight is supported and the brightness is zero
(lowest brightness level), the set_lcd_brightness function will activate
the transflective backlight, making the LCD appear to be turned off.

This patch fixes the issue by incrementing the brightness level, and
by doing so, avoiding the activation of the tranflective backlight.

Cc: <stable@vger.kernel.org> # 4.3+
Reported-and-tested-by: Fabian Koester <fabian.koester@bringnow.com>
Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/toshiba_acpi.c