]> git.hungrycats.org Git - linux/commitdiff
ACPI: resource: Skip IRQ override on Asus Vivobook S5602ZA
authorTamim Khan <tamim@fusetak.com>
Fri, 14 Oct 2022 05:19:31 +0000 (01:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:21:56 +0000 (13:21 +0100)
[ Upstream commit b5f9223a105d9b56954ad1ca3eace4eaf26c99ed ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/resource.c

index 4d1db2def7ae48814206fc2e7a1c026810b3ae1e..5f56839ed71df6f92bfe7d18bcf4025913f68dac 100644 (file)
@@ -428,6 +428,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"),
+               },
+       },
        { }
 };