]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform: arm64: thinkpad-t14s-ec: add suspend handler for keyboard backlight
authorSebastian Reichel <sre@kernel.org>
Wed, 19 Nov 2025 00:41:43 +0000 (01:41 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 24 Nov 2025 17:05:57 +0000 (19:05 +0200)
commit3c79c2e28a24a86199fa83bb80dc1a1c33f996c5
treee7ae33b86dcb99cdb3fe269400a2f2c74c120fae
parentfc62cb6a3e118a7633ca2217203b6293bb742a23
platform: arm64: thinkpad-t14s-ec: add suspend handler for keyboard backlight

This ensures that the keyboard backlight state is restored after
a suspend-resume cycle. Otherwise the keyboard is automatically
disabled during suspend and then stays disabled after resume.

Note, that this adopts the same behavior as the existing Thinkpad
ACPI driver.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Link: https://patch.msgid.link/20251119-thinkpad-t14s-ec-improvements-v2-4-441219857c02@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/arm64/lenovo-thinkpad-t14s.c