[PATCH] ACPI: resources: Add ASUS model S5402ZA to quirks
From: Kellen Renshaw
Date: Wed Sep 21 2022 - 13:24:37 EST
The Asus Vivobook S5402ZA has the same keyboard issue as Asus Vivobook
K3402ZA/K3502ZA. The kernel overrides IRQ 1 to Edge_High when it
should be Active_Low.
This patch adds the S5402ZA model to the quirk list.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216158
Tested-by: Kellen Renshaw <kellen.renshaw@xxxxxxxxxxxxx>
Signed-off-by: Kellen Renshaw <kellen.renshaw@xxxxxxxxxxxxx>
---
Follows e12dee373673 (ACPI: resource: Skip IRQ override on Asus Vivobook
K3402ZA/K3502ZA).
drivers/acpi/resource.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 8b4faec8cae7..5d688e546239 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -414,6 +414,13 @@ static const struct dmi_system_id asus_laptop[] = {
DMI_MATCH(DMI_BOARD_NAME, "K3502ZA"),
},
},
+ {
+ .ident = "Asus Vivobook S5402ZA",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_BOARD_NAME, "S5402ZA"),
+ },
+ },
{ }
};
--
2.25.1