]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sony-laptop: limit brightness range to DSDT provided ones
authorMattia Dongili <malattia@linux.it>
Mon, 9 May 2011 14:20:29 +0000 (10:20 -0400)
committerMatthew Garrett <mjg@redhat.com>
Mon, 9 May 2011 14:28:47 +0000 (10:28 -0400)
commit048f4fe1bc21cde39664a02b75024b951720885b
tree5f463c8a917131bd38e51bc585aec253e3ba0862
parent3c9c4bfde2ec104d72f74aaeb81eef19b168b51d
[PATCH] sony-laptop: limit brightness range to DSDT provided ones

The new style brightness control provides an operating range of 9 values
(seems consistent over a large number of models sharing the same
brightness control methods).
Read and use the minimum and maximum values to limit the backlight
interface between those boundaries.

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