]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sony-laptop: adjust keyboard backlight values for off/auto/on
authorJavier Achirica <jachirica@gmail.com>
Thu, 20 Mar 2014 23:01:18 +0000 (08:01 +0900)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sun, 6 Apr 2014 15:48:54 +0000 (11:48 -0400)
commitd600ec3f3b6dbff52147664e9bfd7630efbf14ec
treeff84bd961d6ff0fe526160f056a61c2726b04145
parent941faa60e984068048b57fdd0bcc07ba7f1ae035
sony-laptop: adjust keyboard backlight values for off/auto/on

Keyboard backlight can be always off, use some automatic trigger
(activity and light sensor), always on.
The behaviour of the driver changes whereby previously when passed 1 it
tried to turn on backlight immediately now it does nothing. This is
however a bug fix since (a) it makes little sense to turn on the
backlight when control is automatic and (b) this behaviour is
consistent with what the windows driver does.

Signed-off-by: Javier Achirica <jachirica@gmail.com>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/sony-laptop.c