diff options
| author | Rong Zhang <[email protected]> | 2025-07-07 16:38:07 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-07-08 10:23:29 +0000 |
| commit | e10981075adce203eac0be866389309eeb8ef11e (patch) | |
| tree | 667bb435465f0d7f172e94ad9727f3a8a7a82093 /rust/helpers/task.c | |
| parent | platform/x86: ideapad-laptop: Fix FnLock not remembered among boots (diff) | |
| download | kernel-e10981075adce203eac0be866389309eeb8ef11e.tar.gz kernel-e10981075adce203eac0be866389309eeb8ef11e.zip | |
platform/x86: ideapad-laptop: Fix kbd backlight not remembered among boots
On some models supported by ideapad-laptop, the HW/FW can remember the
state of keyboard backlight among boots. However, it is always turned
off while shutting down, as a side effect of the LED class device
unregistering sequence.
This is inconvenient for users who always prefer turning on the
keyboard backlight. Thus, set LED_RETAIN_AT_SHUTDOWN on the LED class
device so that the state of keyboard backlight gets remembered, which
also aligns with the behavior of manufacturer utilities on Windows.
Fixes: 503325f84bc0 ("platform/x86: ideapad-laptop: add keyboard backlight control support")
Cc: [email protected]
Signed-off-by: Rong Zhang <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
