]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: thinkpad_acpi: Always call tpacpi_driver_event() for hotkeys
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Apr 2024 12:28:21 +0000 (14:28 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 09:44:12 +0000 (11:44 +0200)
commit4a3725d7612d67cace3390ce467544397d9a3f2d
treef7164b918892ab8e9b24081b6051812257f9f3d7
parent33ecfb852280bdeee906015a7d171a40abf9683d
platform/x86: thinkpad_acpi: Always call tpacpi_driver_event() for hotkeys

Call tpacpi_driver_event() at the top of hotkey_notify_hotkey() for all
(orig / adaptive / extended) hotkey types, rather then having the orig
code path call tpacpi_input_send_key_masked() which calls it through
hotkey_driver_event() and having the adaptive / extended helpers call
it separately.

Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240424122834.19801-12-hdegoede@redhat.com
drivers/platform/x86/thinkpad_acpi.c