Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6766fec3 authored by Thomas Renninger's avatar Thomas Renninger Committed by Len Brown
Browse files

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

parent febf2d95
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -1208,9 +1208,13 @@ static int __init asus_laptop_init(void)

	dev = acpi_get_physical_device(hotk->device->handle);

	if (!acpi_video_backlight_support()) {
		result = asus_backlight_init(dev);
		if (result)
			goto fail_backlight;
	} else
		printk(ASUS_INFO "Brightness ignored, must be controlled by "
		       "ACPI video driver\n");

	result = asus_led_init(dev);
	if (result)