]> git.baikalelectronics.ru Git - kernel.git/commit
sony-laptop: implement new backlight control method
authorMattia Dongili <malattia@linux.it>
Sat, 19 Feb 2011 02:52:32 +0000 (11:52 +0900)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:07:17 +0000 (06:07 -0400)
commit72554cd5ef0b49553b3377620e5afa234041a0ac
tree887b25b25796b35451291cdd7a7922cc68f29fbf
parent1df532f9609b90a0334f817fbaa2d97a03ccf02f
sony-laptop: implement new backlight control method

Reasonably recent Vaios have a 0x12f or 0x137 handler that exposes a
fine lid backlight regulation with values ranging from 0 to 255.
The patch is based on findings and code from Javier Achirica
<achirica@gmail.com> and Marco Chiappero <marco@absence.it>

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