]> www.infradead.org Git - users/jedix/linux-maple.git/commit
alienware-wmi: Fix X Series and G Series quirks
authorKurt Borja <kuurtb@gmail.com>
Sun, 8 Dec 2024 00:26:55 +0000 (21:26 -0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 10 Dec 2024 14:22:52 +0000 (16:22 +0200)
commitc1043cdb019ed4d053d673e62b553a5cea1a287d
tree3851510bec3320b9dbacff8638c99ea0eb2734f6
parente9fba20c29e27dc99e55e1c550573a114561bf8c
alienware-wmi: Fix X Series and G Series quirks

Devices that are known to support the WMI thermal interface do not
support the legacy LED control interface. Make `.num_zones = 0` and
avoid calling alienware_zone_init() if that's the case.

Fixes: 9f6c43041552 ("alienware-wmi: added platform profile support")
Fixes: 1c1eb70e7d23 ("alienware-wmi: extends the list of supported models")
Suggested-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20241208002652.5885-4-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/alienware-wmi.c