diff options
author | Yao Zi <ziyao@disroot.org> | 2025-06-05 20:34:46 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-06-07 11:37:15 +0800 |
commit | 53c762b47f726e4079a1f06f684bce2fc0d56fba (patch) | |
tree | 6567870e865633449a0b4861b75ccd7575f2c49a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1205088fd0393bd9eae96b62bf1e4b9eb1b73edf (diff) |
platform/loongarch: laptop: Add backlight power control support
loongson_laptop_turn_{on,off}_backlight() are designed for controlling
the 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
the power state of the backlight as well. Tested on the TongFang L860-T2
Loongson-3A5000 laptop.
Cc: stable@vger.kernel.org
Fixes: 6246ed09111f ("LoongArch: Add ACPI-based generic laptop driver")
Signed-off-by: Yao Zi <ziyao@disroot.org>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions