OSDN Git Service

ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU
authorWerner Sembach <wse@tuxedocomputers.com>
Tue, 15 Mar 2022 19:02:28 +0000 (20:02 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Mar 2022 13:29:07 +0000 (14:29 +0100)
commitc844d22fe0c0b37dc809adbdde6ceb6462c43acf
treeeb64de6788cc97495eb54eed5b34616c645aaec5
parent09688c0166e76ce2fb85e86b9d99be8b0084cdf9
ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU

Clevo NL5xRU and NL5xNU/TUXEDO Aura 15 Gen1 and Gen2 have both a working
native and video interface. However the default detection mechanism first
registers the video interface before unregistering it again and switching
to the native interface during boot. This results in a dangling SBIOS
request for backlight change for some reason, causing the backlight to
switch to ~2% once per boot on the first power cord connect or disconnect
event. Setting the native interface explicitly circumvents this buggy
behaviour by avoiding the unregistering process.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c