summaryrefslogtreecommitdiff
path: root/drivers/xen/balloon.c
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2009-02-02 06:33:41 +0300
committerLen Brown <len.brown@intel.com>2009-02-03 06:34:23 +0300
commit0a3db1cec5d476804185114ff5d1845aed3936b3 (patch)
tree17fa66bc283519e04919c514cb3cfd3a3a438c65 /drivers/xen/balloon.c
parent18e352e4a73465349711a9324767e1b2453383e2 (diff)
downloadlinux-0a3db1cec5d476804185114ff5d1845aed3936b3.tar.xz
ACPI: Skip the first two elements in the _BCL package
According to the Spec the first two elements in the _BCL package won't be regarded as the available brightness level. The first is the brightness when full power is connected to the box(It means that the AC adapter is plugged). The second is the brightness level when the box is on battery. If the first two elements are still used while finding the next brightness level, it will fall back to the lowest level when keeping on pressing hotkey. (On some boxes the brightness will be changed twice when hotkey is pressed once. One is in the ACPI video driver. The other is changed by sys I/F. In the ACPI video driver the first two elements will be used while changing the brightness. But the first two elements is skipped while using sys I/F. In such case there exists the inconsistency). So he first two elements had better be skipped while showing the available brightness or finding the next brightness level. http://bugzilla.kernel.org/show_bug.cgi?id=12450 Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/xen/balloon.c')
0 files changed, 0 insertions, 0 deletions