]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: acer-wmi: use an ACPI bitmap to set the platform profile choices
authorHridesh MG <hridesh699@gmail.com>
Mon, 13 Jan 2025 13:14:12 +0000 (18:44 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 15 Jan 2025 14:27:35 +0000 (16:27 +0200)
commit191e21f1a4c3948957adc037734449f4a965dec5
treee69b26e18c00ce323aba17ba174fcc6078c8e1be
parent61c461a90fbfc038d9663713f293d60fcb58c41d
platform/x86: acer-wmi: use an ACPI bitmap to set the platform profile choices

Currently the choices for the platform profile are hardcoded. There is
an ACPI bitmap accessible via WMI that specifies the supported profiles,
use this bitmap to dynamically set the choices for the platform profile.

Link: https://lore.kernel.org/platform-driver-x86/ecb60ee5-3df7-4d7e-8ebf-8c162b339ade@gmx.de/
Signed-off-by: Hridesh MG <hridesh699@gmail.com>
Reviewed-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250113-platform_profile-v4-4-23be0dff19f1@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/acer-wmi.c