Skip to content

Commit f3cb9b7

Browse files
freundTechrafaeljw
authored andcommitted
ACPI: resource: do IRQ override on Lenovo 14ALC7
Commit bfcdf58 ("ACPI: resource: do IRQ override on LENOVO IdeaPad") added an override for Lenovo IdeaPad 5 16ALC7. The 14ALC7 variant also suffers from a broken touchscreen and trackpad. Fixes: 9946e39 ("ACPI: resource: skip IRQ override on AMD Zen platforms") Link: https://bugzilla.kernel.org/show_bug.cgi?id=216804 Signed-off-by: Adrian Freund <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 7592b79 commit f3cb9b7

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

drivers/acpi/resource.c

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,14 @@ static const struct dmi_system_id asus_laptop[] = {
435435
{ }
436436
};
437437

438-
static const struct dmi_system_id lenovo_82ra[] = {
438+
static const struct dmi_system_id lenovo_laptop[] = {
439+
{
440+
.ident = "LENOVO IdeaPad Flex 5 14ALC7",
441+
.matches = {
442+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
443+
DMI_MATCH(DMI_PRODUCT_NAME, "82R9"),
444+
},
445+
},
439446
{
440447
.ident = "LENOVO IdeaPad Flex 5 16ALC7",
441448
.matches = {
@@ -469,8 +476,8 @@ struct irq_override_cmp {
469476
static const struct irq_override_cmp override_table[] = {
470477
{ medion_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
471478
{ asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
472-
{ lenovo_82ra, 6, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
473-
{ lenovo_82ra, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
479+
{ lenovo_laptop, 6, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
480+
{ lenovo_laptop, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
474481
{ schenker_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
475482
};
476483

0 commit comments

Comments
 (0)