]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ACPI: resource: Use IRQ override on MACHENIKE 16P
authorWentao Guan <guanwentao@uniontech.com>
Tue, 3 Jun 2025 12:20:59 +0000 (20:20 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Jun 2025 18:58:37 +0000 (20:58 +0200)
Use ACPI IRQ override on MACHENIKE laptop to make the internal
keyboard work.

Add a new entry to the irq1_edge_low_force_override structure, similar
to the existing ones.

Link: https://bbs.deepin.org.cn/zh/post/287628
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Link: https://patch.msgid.link/20250603122059.1072790-1-guanwentao@uniontech.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c

index 7d59c6c9185fc1eacc5be5eaa353c5db1e3e248d..b1ab192d7a0809fe967e7a6d1318c5a3e04848ac 100644 (file)
@@ -666,6 +666,13 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"),
                },
        },
+       {
+               /* MACHENIKE L16P/L16P */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "MACHENIKE"),
+                       DMI_MATCH(DMI_BOARD_NAME, "L16P"),
+               },
+       },
        {
                /*
                 * TongFang GM5HG0A in case of the SKIKK Vanaheim relabel the