[SRU][F][J][K][Unstable][PATCH 2/2] ACPI: resources: Add ASUS model S5402ZA to quirks

Kellen Renshaw kellen.renshaw at canonical.com
Wed Sep 28 20:44:13 UTC 2022


Buglink: https://bugs.launchpad.net/bugs/1990425

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.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216158
Tested-by: Kellen Renshaw <kellen.renshaw at canonical.com>
Signed-off-by: Kellen Renshaw <kellen.renshaw at canonical.com>
(cherry picked from commit 6dbcc1558abf6ecad10fde3b2e3fed8ea2761bc0 linux-pm)
Signed-off-by: Kellen Renshaw <kellen.renshaw at canonical.com>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 8b4faec8cae7..57d7c6685aed 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




More information about the kernel-team mailing list