Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit fc7dfb8

Browse files
jwrdegoedegregkh
authored andcommittedOct 10, 2024
ACPI: resource: Remove duplicate Asus E1504GAB IRQ override
commit 65bdebf upstream. 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 <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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2b48866 commit fc7dfb8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed
 

‎drivers/acpi/resource.c

+1-8
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)