OSDN Git Service

ACPI: video: Use native backlight on Dell Inspiron N4010
authorHans de Goede <hdegoede@redhat.com>
Thu, 14 Jul 2022 19:16:11 +0000 (21:16 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Jul 2022 18:07:59 +0000 (20:07 +0200)
commit03c440a26cba6cfa540d65924e9db86fcea362b2
treed2f7b07bb2c470fa85bbc19a7383d87302eb2a54
parentf0341e67b3782603737f7788e71bd3530012a4f4
ACPI: video: Use native backlight on Dell Inspiron N4010

The Dell Inspiron N4010 does not have ACPI backlight control,
so acpi_video_get_backlight_type()'s heuristics return vendor as
the type to use.

But the vendor interface is broken, where as the native (intel_backlight)
works well, add a quirk to use native.

Link: https://lore.kernel.org/regressions/CALF=6jEe5G8+r1Wo0vvz4GjNQQhdkLT5p8uCHn6ZXhg4nsOWow@mail.gmail.com/
Reported-and-tested-by: Ben Greening <bgreening@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c