summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWentao Guan <guanwentao@uniontech.com>2025-06-03 15:20:59 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-06-10 21:58:37 +0300
commitc99ad987d3e9b550e9839d5df22de97d90462e5f (patch)
treea55a869f1e3f70585613023291185c8c0c441861
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff)
downloadlinux-c99ad987d3e9b550e9839d5df22de97d90462e5f.tar.xz
ACPI: resource: Use IRQ override on MACHENIKE 16P
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>
-rw-r--r--drivers/acpi/resource.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 7d59c6c9185f..b1ab192d7a08 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -667,6 +667,13 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
},
},
{
+ /* 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
* board-name is changed, so check OEM strings instead. Note