2022-06-20 15:50:55

by Chuanhong Guo

[permalink] [raw]
Subject: [PATCH v3 3/3] ACPI: skip IRQ1 override on Asus Zenbook S 13 OLED UM5302

From: Kent Hou Man <[email protected]>

This laptop also defines its active-low keyboard IRQ in legacy format.
Add IRQ override skipping for it.

Cc: <[email protected]>
Signed-off-by: Kent Hou Man <[email protected]>
Signed-off-by: Chuanhong Guo <[email protected]>
---
Change since v2: none

drivers/acpi/resource.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 30c0d85b2bf2..eff615f51d07 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -400,6 +400,13 @@ static const struct dmi_system_id medion_laptop[] = {
};

static const struct dmi_system_id irq1_edge_low_shared[] = {
+ {
+ .ident = "Asus Zenbook S 13 OLED UM5302",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_BOARD_NAME, "UM5302TA"),
+ },
+ },
{
.ident = "Lenovo ThinkBook 14 G4+ ARA",
.matches = {
--
2.36.1