diff options
| author | Bartu Alev <bartualev@gmail.com> | 2026-10-10 13:15:58 +0300 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-10-21 12:49:58 +0300 |
| commit | 3d9a175707eeb15a2d577af1e669b98e0236719b (patch) | |
| tree | d561a4f9c53f9a6e52b2f808cdde65927eabbf6b /tools/perf/python | |
| parent | 39b6fe1f4b98bc1cc935d38f4168611716e26086 (diff) | |
platform/x86: asus-wmi: fix TUF keyboard power state shutdown naming
The fourth state flag of kbd_rgb_state_index is named "keyboard" and has
long been treated as having no effect. In hardware the flag, BIT(7) of
the payload sent to the TUF RGB state device, gates whether the keyboard
backlight stays lit while the machine powers off: with the bit set the
keyboard lights up white during the ACPI S5 sequence, with the bit clear
the machine powers off dark. Verified by A/B testing both values on a
TUF Gaming A15 (FA507NV).
Rename the fourth field and its index entry from "keyboard" to
"shutdown". The write format is unchanged, the value is still
positional, and the diff is two variable names and one string, so it
backports cleanly.
Fixes: 61f64515299e ("platform/x86: asus-wmi: Implement TUF laptop keyboard power states")
Cc: stable@vger.kernel.org
Signed-off-by: Bartu Alev <bartualev@gmail.com>
Link: https://patch.msgid.link/20261010101601.888709-3-bartualev@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions
