Re: [PATCH] ACPI: resource: Fix IRQ override quirk for PCSpecialist Elimina Pro 16 M

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 21, 2023 at 11:09 AM Hans de Goede <hdegoede@xxxxxxxxxx> wrote:
>
> It turns out that some PCSpecialist Elimina Pro 16 M models
> have "GM6BGEQ" as DMI product-name instead of "Elimina Pro 16 M",
> causing the existing DMI quirk to not work on these models.
>
> The DMI board-name is always "GM6BGEQ", so match on that instead.
>
> Fixes: 56fec0051a69 ("ACPI: resource: Add IRQ override quirk for PCSpecialist Elimina Pro 16 M")
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=217394#c36
> Cc: All applicable <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
> ---
>  drivers/acpi/resource.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index a4d9f149b48d..32cfa3f4efd3 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -501,9 +501,13 @@ static const struct dmi_system_id maingear_laptop[] = {
>  static const struct dmi_system_id pcspecialist_laptop[] = {
>         {
>                 .ident = "PCSpecialist Elimina Pro 16 M",
> +               /*
> +                * Some models have product-name "Elimina Pro 16 M",
> +                * others "GM6BGEQ". Match on board-name to match both.
> +                */
>                 .matches = {
>                         DMI_MATCH(DMI_SYS_VENDOR, "PCSpecialist"),
> -                       DMI_MATCH(DMI_PRODUCT_NAME, "Elimina Pro 16 M"),
> +                       DMI_MATCH(DMI_BOARD_NAME, "GM6BGEQ"),
>                 },
>         },
>         { }
> --

Applied as 6.5-rc material, thanks!



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux