diff options
| author | Thomas Tuttle <[email protected]> | 2006-12-19 12:56:14 -0800 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2006-12-20 01:38:38 -0500 |
| commit | f4715189dfb1c381ad36b7e02e3716fb7a7f84db (patch) | |
| tree | caa02518b93f2d6d5a26138a23fbee82e8fd497c /include/linux/debugobjects.h | |
| parent | 4afaf54b3b97fa8cf2d1d9bcd7612b195acb53ae (diff) | |
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).
[[email protected]: cleanups]
Signed-off-by: Thomas Tuttle <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions