]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: wmi: Call both legacy and WMI driver notify handlers
authorArmin Wolf <W_Armin@gmx.de>
Sun, 1 Sep 2024 03:10:55 +0000 (05:10 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 5 Sep 2024 15:21:59 +0000 (17:21 +0200)
commitf5dd17e30a59791ba3523aeaab04bafe001b7f67
tree43dea8d70f5fc4ee339e11c104d5f20f5600bc55
parent6ed2d7e8e74de49f11f9517f32acada5369fd30b
platform/x86: wmi: Call both legacy and WMI driver notify handlers

Since the legacy WMI notify handlers are now using the WMI event data
provided by the WMI driver core, they can coexist with modern WMI
driver notify handlers.

Remove the precedence of WMI driver notify handlers and call both
when receiving an event.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20240901031055.3030-6-W_Armin@gmx.de
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/wmi.c