ACPI: resource: Fix IRQ override quirk for PCSpecialist Elimina Pro 16 M
authorHans de Goede <hdegoede@redhat.com>
Mon, 21 Aug 2023 09:09:27 +0000 (11:09 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Aug 2023 10:48:52 +0000 (12:48 +0200)
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@vger.kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c

index a4d9f14..32cfa3f 100644 (file)
@@ -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"),
                },
        },
        { }