]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ACPI: resource: Remove duplicate Asus E1504GAB IRQ override
authorHans de Goede <hdegoede@redhat.com>
Fri, 27 Sep 2024 14:16:03 +0000 (16:16 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Sep 2024 18:37:32 +0000 (20:37 +0200)
Commit d2aaf1996504 ("ACPI: resource: Add DMI quirks for ASUS Vivobook
E1504GA and E1504GAB") does exactly what the subject says, adding DMI
matches for both the E1504GA and E1504GAB.

But DMI_MATCH() does a substring match, so checking for E1504GA will also
match E1504GAB.

Drop the unnecessary E1504GAB entry since that is covered already by
the E1504GA entry.

Fixes: d2aaf1996504 ("ACPI: resource: Add DMI quirks for ASUS Vivobook E1504GA and E1504GAB")
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20240927141606.66826-1-hdegoede@redhat.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c

index 8a4726e2eb6938da0992138eb6fc0bce11597d9f..1ff251fd1901a397116a972eaa047c9f8e37e7c6 100644 (file)
@@ -511,19 +511,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
                },
        },
        {
-               /* Asus Vivobook E1504GA */
+               /* Asus Vivobook E1504GA* */
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
                        DMI_MATCH(DMI_BOARD_NAME, "E1504GA"),
                },
        },
-       {
-               /* Asus Vivobook E1504GAB */
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-                       DMI_MATCH(DMI_BOARD_NAME, "E1504GAB"),
-               },
-       },
        {
                /* Asus Vivobook Pro N6506MV */
                .matches = {