Re: [PATCH] platform/x86: acer-wmi: Add support for Acer PH18-71

From: Ilpo Järvinen
Date: Tue Apr 02 2024 - 08:00:19 EST


On Fri, 29 Mar 2024, Bernhard Rosenkränzer wrote:

> Add Acer Predator PH18-71 to acer_quirks with predator_v4
> to support mode button and fan speed sensor.
>
> Signed-off-by: Bernhard Rosenkränzer <bero@xxxxxxxxxxxx>
> ---
> drivers/platform/x86/acer-wmi.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
> index ee2e164f86b9c..38c932df6446a 100644
> --- a/drivers/platform/x86/acer-wmi.c
> +++ b/drivers/platform/x86/acer-wmi.c
> @@ -597,6 +597,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
> },
> .driver_data = &quirk_acer_predator_v4,
> },
> + {
> + .callback = dmi_matched,
> + .ident = "Acer Predator PH18-71",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "Predator PH18-71"),
> + },
> + .driver_data = &quirk_acer_predator_v4,
> + },
> {
> .callback = set_force_caps,
> .ident = "Acer Aspire Switch 10E SW3-016",
>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

--
i.