platform/x86: thinkpad-acpi: Add support for hotkey 0x131a
authorMark Pearson <markpearson@lenovo.com>
Fri, 3 Jun 2022 17:02:11 +0000 (13:02 -0400)
committerHans de Goede <hdegoede@redhat.com>
Wed, 22 Jun 2022 09:49:46 +0000 (11:49 +0200)
commit867eb713180c73335447a9bceb6c4c4c3e9d47c4
tree20386700666f1275a0296f8ed3f697be4c3ed974
parent46dcbc61b739b0822855875e7dd8d8f471f50253
platform/x86: thinkpad-acpi: Add support for hotkey 0x131a

On some AMD platforms if you press FN+T it will toggle whether automatic
mode transitions are active.

Recognize this keycode and use it to toggle AMT.

Co-developed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Link: https://lore.kernel.org/r/20220603170212.164963-3-markpearson@lenovo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/thinkpad_acpi.c