Skip to content

Commit ff3d9ab

Browse files
freundTechgregkh
authored andcommitted
ACPI: resource: do IRQ override on Lenovo 14ALC7
[ Upstream commit f3cb9b7 ] 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]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 698a081 commit ff3d9ab

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
@@ -417,7 +417,14 @@ static const struct dmi_system_id asus_laptop[] = {
417417
{ }
418418
};
419419

420-
static const struct dmi_system_id lenovo_82ra[] = {
420+
static const struct dmi_system_id lenovo_laptop[] = {
421+
{
422+
.ident = "LENOVO IdeaPad Flex 5 14ALC7",
423+
.matches = {
424+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
425+
DMI_MATCH(DMI_PRODUCT_NAME, "82R9"),
426+
},
427+
},
421428
{
422429
.ident = "LENOVO IdeaPad Flex 5 16ALC7",
423430
.matches = {
@@ -451,8 +458,8 @@ struct irq_override_cmp {
451458
static const struct irq_override_cmp override_table[] = {
452459
{ medion_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
453460
{ asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
454-
{ lenovo_82ra, 6, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
455-
{ lenovo_82ra, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
461+
{ lenovo_laptop, 6, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
462+
{ lenovo_laptop, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
456463
{ schenker_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
457464
};
458465

0 commit comments

Comments
 (0)