[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)
commit62d2f23e8bce3e7da4db53928e810fc8a474ce70
tree5f463c8a917131bd38e51bc585aec253e3ba0862
parent6192fa7109fb33591fa1078c8c1981e39da02d2d
[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