Skip to content

Commit 65bdebf

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: resource: Remove duplicate Asus E1504GAB IRQ override
Commit d2aaf19 ("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: d2aaf19 ("ACPI: resource: Add DMI quirks for ASUS Vivobook E1504GA and E1504GAB") Cc: All applicable <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 9852d85 commit 65bdebf

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

drivers/acpi/resource.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -511,19 +511,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
511511
},
512512
},
513513
{
514-
/* Asus Vivobook E1504GA */
514+
/* Asus Vivobook E1504GA* */
515515
.matches = {
516516
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
517517
DMI_MATCH(DMI_BOARD_NAME, "E1504GA"),
518518
},
519519
},
520-
{
521-
/* Asus Vivobook E1504GAB */
522-
.matches = {
523-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
524-
DMI_MATCH(DMI_BOARD_NAME, "E1504GAB"),
525-
},
526-
},
527520
{
528521
/* Asus Vivobook Pro N6506MV */
529522
.matches = {

0 commit comments

Comments
 (0)