提交 6766fec3 编写于 作者: T Thomas Renninger 提交者: Len Brown

asus-acpi: fingers off backlight if video.ko is serving this functionality

Signed-off-by: NThomas Renninger <trenn@suse.de>
Acked-by: NZhang Rui <rui.zhang@intel.com>
Signed-off-by: NAndi Kleen <ak@linux.intel.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 febf2d95
...@@ -1208,9 +1208,13 @@ static int __init asus_laptop_init(void) ...@@ -1208,9 +1208,13 @@ static int __init asus_laptop_init(void)
dev = acpi_get_physical_device(hotk->device->handle); dev = acpi_get_physical_device(hotk->device->handle);
result = asus_backlight_init(dev); if (!acpi_video_backlight_support()) {
if (result) result = asus_backlight_init(dev);
goto fail_backlight; if (result)
goto fail_backlight;
} else
printk(ASUS_INFO "Brightness ignored, must be controlled by "
"ACPI video driver\n");
result = asus_led_init(dev); result = asus_led_init(dev);
if (result) if (result)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册