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)
commit7751ab8e600f26e10c2ba12a92d48a4852a51da8
tree887b25b25796b35451291cdd7a7922cc68f29fbf
parentbf155714013e59c299e378055d60a4adf92e79db
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