Skip to content

Commit 158d0f3

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: resource: Fold Asus ExpertBook B1402C* and B1502C* DMI quirks together
Asus has 2 ExpertBook B1402C models: B1402CBA with 12th gen Intel CPUs B1402CVA with 13th gen Intel CPUs Fold the 2 DMI quirks for these into a single quirk to reduce the number of quirks. Likewise Asus has 3 ExpertBook B1502C models: B1502CBA with 12th gen Intel CPUs B1502CGA with 12th gen Intel N-series CPUs B1502CVA with 13th gen Intel CPUs Fold the 3 DMI quirks for these into a single quirk to reduce the number of quirks. 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 435f2d8 commit 158d0f3

File tree

1 file changed

+4
-25
lines changed

1 file changed

+4
-25
lines changed

drivers/acpi/resource.c

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -448,40 +448,19 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
448448
},
449449
},
450450
{
451-
/* Asus ExpertBook B1402CBA */
451+
/* Asus ExpertBook B1402C* */
452452
.matches = {
453453
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
454-
DMI_MATCH(DMI_BOARD_NAME, "B1402CBA"),
454+
DMI_MATCH(DMI_BOARD_NAME, "B1402C"),
455455
},
456456
},
457457
{
458-
/* Asus ExpertBook B1402CVA */
458+
/* Asus ExpertBook B1502C* */
459459
.matches = {
460460
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
461-
DMI_MATCH(DMI_BOARD_NAME, "B1402CVA"),
461+
DMI_MATCH(DMI_BOARD_NAME, "B1502C"),
462462
},
463463
},
464-
{
465-
/* Asus ExpertBook B1502CBA */
466-
.matches = {
467-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
468-
DMI_MATCH(DMI_BOARD_NAME, "B1502CBA"),
469-
},
470-
},
471-
{
472-
/* Asus ExpertBook B1502CGA */
473-
.matches = {
474-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
475-
DMI_MATCH(DMI_BOARD_NAME, "B1502CGA"),
476-
},
477-
},
478-
{
479-
/* Asus ExpertBook B1502CVA */
480-
.matches = {
481-
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
482-
DMI_MATCH(DMI_BOARD_NAME, "B1502CVA"),
483-
},
484-
},
485464
{
486465
/* Asus ExpertBook B2402 (B2402CBA / B2402FBA / B2402CVA / B2402FVA) */
487466
.matches = {

0 commit comments

Comments
 (0)