]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:23 +0000 (15:07 -0800)
commite3fb82079c460f979ff99b3e033442e9a948a37f
treedb2118114916339840875dfd77e79a4147812454
parentbcb1875a069043c70af27dc9f0f5e075a09d76b1
toshiba_acpi: Fix blank screen at boot if transflective backlight is supported

commit bae5336f0aaedffa115dab9cb3d8a4e4aed3a26a upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/toshiba_acpi.c