Skip to content

Commit 435f2d8

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: resource: Make Asus ExpertBook B2502 matches cover more models
Like the various 14" Asus ExpertBook B2 B2402* models there are also 4 variants of the 15" Asus ExpertBook B2 B2502* models: B2502CBA: 12th gen Intel CPU, non flip B2502FBA: 12th gen Intel CPU, flip B2502CVA: 13th gen Intel CPU, non flip B2502FVA: 13th gen Intel CPU, flip Currently there already are DMI quirks for the B2502CBA, B2502FBA and B2502CVA models. Asus website shows that there also is a B2502FVA. Rather then adding a 4th quirk fold the 3 existing quirks into a single quirk covering B2502* to also cover the last model while at the same time reducing the number of quirks. 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 564a278 commit 435f2d8

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

drivers/acpi/resource.c

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -490,24 +490,10 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
490490
},
491491
},
492492
{
493-
/* Asus ExpertBook B2502 */
493+
/* Asus ExpertBook B2502 (B2502CBA / B2502FBA / B2502CVA / B2502FVA) */
494494
.matches = {
495495
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
496-
DMI_MATCH(DMI_BOARD_NAME, "B2502CBA"),
497-
},
498-
},
499-
{
500-
/* Asus ExpertBook B2502FBA */
501-
.matches = {
502-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
503-
DMI_MATCH(DMI_BOARD_NAME, "B2502FBA"),
504-
},
505-
},
506-
{
507-
/* Asus ExpertBook B2502CVA */
508-
.matches = {
509-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
510-
DMI_MATCH(DMI_BOARD_NAME, "B2502CVA"),
496+
DMI_MATCH(DMI_BOARD_NAME, "B2502"),
511497
},
512498
},
513499
{

0 commit comments

Comments
 (0)