diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-10-05 23:38:25 +0200 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-10-09 12:04:48 +0300 |
commit | d12586e1072d92070783c854819a0ca8c82c5439 (patch) | |
tree | 5e269c19be1b5049fdb965d482e773c63abffcbf /drivers/platform/x86/intel/bxtwc_tmu.c | |
parent | 066c779b094b63754e0742ad8675d72d6c0a46f6 (diff) | |
download | linux-d12586e1072d92070783c854819a0ca8c82c5439.tar.gz linux-d12586e1072d92070783c854819a0ca8c82c5439.tar.bz2 linux-d12586e1072d92070783c854819a0ca8c82c5439.zip |
platform/x86: wmi: Implement proper shutdown handling
When performing a system shutdown under Windows, all WMI clients are
terminated. This means that the ACPI BIOS might expect all WMI devices
to be disabled when shutting down.
Emulate this behaviour by disabling all active WMI devices during
shutdown. Also introduce a new WMI driver callback to allow WMI drivers
to perform any device-specific actions before disabling the WMI device.
Tested on a Dell Inspiron 3505.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20241005213825.701887-2-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel/bxtwc_tmu.c')
0 files changed, 0 insertions, 0 deletions