]> 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)
commit4f75759ad7711afe11234737396061258db14a1d
tree5f463c8a917131bd38e51bc585aec253e3ba0862
parent97eb9df931f06e4bc3d772cbcd1a2250e9759e03
[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