Thomas Tuttle f4715189df ACPI: Implement acpi_video_get_next_level()
acpi_video_get_next_level was supposed to implement an algorithm to select
a new brightness level based on the old brightness level of an ACPI video
device, but it simply says "/* Fix me */" and returns the current
brightness.

This patch implements acpi_video_get_next_level properly.  It had to change
a few constants at the top of the file because they were (apparently)
wrong, but it appears to work on my Dell Inspiron e1405 (with BIOS A05
only--BIOS A04 doesn't seem to send ACPI video hotkey events).

[akpm@osdl.org: cleanups]
Signed-off-by: Thomas Tuttle <linux-kernel@ttuttle.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2006-12-20 01:38:38 -05:00
..
2006-07-09 15:15:40 -04:00
2006-07-09 15:15:40 -04:00
2006-07-10 02:37:22 -04:00
2006-06-14 02:44:35 -04:00
2006-10-14 01:59:46 -04:00
2006-08-15 23:16:43 -04:00
2006-10-10 15:37:22 -07:00
2006-07-01 16:36:14 -04:00
2006-12-19 23:07:39 -05:00
2006-07-09 17:22:28 -04:00