]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ACPI: resource: Add Asus Vivobook X1504VAP to irq1_level_low_skip_override[]
authorHans de Goede <hdegoede@redhat.com>
Fri, 20 Dec 2024 18:13:52 +0000 (19:13 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 7 Jan 2025 18:19:44 +0000 (19:19 +0100)
Like the Vivobook X1704VAP the X1504VAP has its keyboard IRQ (1) described
as ActiveLow in the DSDT, which the kernel overrides to EdgeHigh which
breaks the keyboard.

Add the X1504VAP to the irq1_level_low_skip_override[] quirk table to fix
this.

Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219224
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20241220181352.25974-1-hdegoede@redhat.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c

index 821867de43bea3d2b56f5011490a99a555949572..ab4c0e0b6b8e969812809338a3f91ccb9eab2705 100644 (file)
@@ -440,6 +440,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
                },
        },
+       {
+               /* Asus Vivobook X1504VAP */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_BOARD_NAME, "X1504VAP"),
+               },
+       },
        {
                /* Asus Vivobook X1704VAP */
                .matches = {