]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: ideapad-laptop: add support for some new buttons
authorGašper Nemgar <gasper.nemgar@gmail.com>
Fri, 18 Apr 2025 07:07:38 +0000 (09:07 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 23 Apr 2025 10:05:26 +0000 (13:05 +0300)
commit02c6e43397c39edd0c172859bf8c851b46be09a8
tree6ea2e361741c54980b71d82fbf07fddcc1082ced
parent77bdac73754e4c0c564c1ca80fe3d9c93b0e715a
platform/x86: ideapad-laptop: add support for some new buttons

Add entries to unsupported WMI codes in ideapad_keymap[] and one
check for WMI code 0x13d to trigger platform_profile_cycle().

Signed-off-by: Gašper Nemgar <gasper.nemgar@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20250418070738.7171-1-gasper.nemgar@gmail.com
[ij: joined nested if ()s & major tweaks to changelog]
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c