platform/x86: wmi: change notification handler type
authorMikalai Ramanovich <nikolay.romanovich.00@gmail.com>
Fri, 15 Oct 2021 19:13:22 +0000 (22:13 +0300)
committerHans de Goede <hdegoede@redhat.com>
Fri, 22 Oct 2021 08:57:11 +0000 (10:57 +0200)
commitb8d4d35074fddb00e27bfa3acf5f4f8b0696a1af
treea27a1c431b2d10897c008570780be0f8ae6e8497
parentab5fe33925c6b03f646a1153771dab047548e4d8
platform/x86: wmi: change notification handler type

Since AML code on some Xiaomi laptops notifies the WMI hotkey with
0x20 event, we need ACPI_ALL_NOTIFY here to be able to handle it.

Signed-off-by: Mikalai Ramanovich <nikolay.romanovich.00@gmail.com>
Link: https://lore.kernel.org/r/20211015191322.73388-1-nikolay.romanovich.00@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/wmi.c