]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: apple: ensure the keyboard backlight is off if suspending
authorAditya Garg <gargaditya08@live.com>
Sat, 4 Apr 2026 09:44:34 +0000 (15:14 +0530)
committerJiri Kosina <jkosina@suse.com>
Thu, 9 Apr 2026 15:46:46 +0000 (17:46 +0200)
commit1f95a6cd5ad78ed27a31a20cbd1facff6f10b33d
tree5391bdf524036a2fc5c889c262890039697ee398
parentd4229fc0cb50c52b385538d072c5fc8827b287a9
HID: apple: ensure the keyboard backlight is off if suspending

Some users reported that upon suspending their keyboard backlight
remained on. Fix this by adding the missing LED_CORE_SUSPENDRESUME flag.

Cc: stable@vger.kernel.org
Fixes: 394ba612f941 ("HID: apple: Add support for magic keyboard backlight on T2 Macs")
Fixes: 9018eacbe623 ("HID: apple: Add support for keyboard backlight on certain T2 Macs.")
Reported-by: André Eikmeyer <andre.eikmeyer@gmail.com>
Tested-by: André Eikmeyer <andre.eikmeyer@gmail.com>
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-apple.c