mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
Acer-WMI: fingers off backlight if video.ko is serving this functionality
Signed-off-by: Thomas Renninger <[email protected]> Acked-by: Zhang Rui <[email protected]> Signed-off-by: Andi Kleen <[email protected]> Acked-by: Carlos Corbacho <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
committed by
Len Brown
parent
c3d6de698c
commit
febf2d95a7
@@ -1297,6 +1297,12 @@ static int __init acer_wmi_init(void)
|
||||
|
||||
set_quirks();
|
||||
|
||||
if (!acpi_video_backlight_support() && has_cap(ACER_CAP_BRIGHTNESS)) {
|
||||
interface->capability &= ~ACER_CAP_BRIGHTNESS;
|
||||
printk(ACER_INFO "Brightness must be controlled by "
|
||||
"generic video driver\n");
|
||||
}
|
||||
|
||||
if (platform_driver_register(&acer_platform_driver)) {
|
||||
printk(ACER_ERR "Unable to register platform driver.\n");
|
||||
goto error_platform_register;
|
||||
|
||||
Reference in New Issue
Block a user