summary refs log tree commit diff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorTamim Khan <tamim@fusetak.com>2022-10-14 01:19:31 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-10-26 13:41:11 +0200
commitb5f9223a105d9b56954ad1ca3eace4eaf26c99ed (patch)
tree6a7da7ac7237459ca29bc3665d896e79b41e7b64 /drivers/acpi
parent247f34f7b80357943234f93f247a1ae6b6c3a740 (diff)
downloadlinux-b5f9223a105d9b56954ad1ca3eace4eaf26c99ed.tar.gz
ACPI: resource: Skip IRQ override on Asus Vivobook S5602ZA
Like the Asus Vivobook K3402ZA/K3502ZA/S5402ZA Asus Vivobook S5602ZA
has an ACPI DSDT table the describes IRQ 1 as ActiveLow while the kernel
overrides it to Edge_High. This prevents the keyboard on this laptop
from working. To fix this add this laptop to the skip_override_table so
that the kernel does not override IRQ 1.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216579
Tested-by: Dzmitry <wrkedm@gmail.com>
Signed-off-by: Tamim Khan <tamim@fusetak.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-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 78c2804164c6..f27914aedbd5 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -425,6 +425,13 @@ static const struct dmi_system_id asus_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "S5402ZA"),
 		},
 	},
+	{
+		.ident = "Asus Vivobook S5602ZA",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
+		},
+	},
 	{ }
 };