]> git.baikalelectronics.ru Git - kernel.git/commit
sony-laptop: keyboard backlight fixes
authorMarco Chiappero <marco@absence.it>
Tue, 5 Apr 2011 14:38:34 +0000 (23:38 +0900)
committerMatthew Garrett <mjg@redhat.com>
Tue, 12 Apr 2011 15:27:44 +0000 (11:27 -0400)
commit61f90a2d58fc6fc64b908bf872ebde8b4a254a95
tree6d40e4c8544c6f64bb6d521403a6d3e5b45e3e21
parent880d3718c5868855f516e8c028da1a8aac2fea0e
sony-laptop: keyboard backlight fixes

Restore the original state on module removal, set the latest values on
resume.
When setting the keyboard backlight mode try to turn on/off backlight
immediately.

[malattia@linux.it: patch taken from a largely modified sony-laptop.c,
ported and slightly modified to use defines already available.]

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/sony-laptop.c