You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BACKPORT: FROMLIST: platform/loongarch: laptop: Support backlight power control
loongson_laptop_turn_{on,off}_backlight() are designed for controlling
power of the backlight, but they aren't really used in the driver
previously.
Unify these two functions since they only differ in arguments passed to
ACPI method, and wire up loongson_laptop_backlight_update() to update
power state of the backlight as well. Tested on TongFang L860-T2 3A5000
laptop.
Signed-off-by: Yao Zi <[email protected]>
Link: https://lore.kernel.org/loongarch/[email protected]/
Signed-off-by: Mingcong Bai <[email protected]>
0 commit comments