diff mbox series

[6.1.y,12/14] ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CVA

Message ID 20240408103207.197423-13-kovalev@altlinux.org
State Superseded
Headers show
Series ACPI: resource: Add IRQ override quirks (backport changes from v6.9-rc3) | expand

Commit Message

Vasiliy Kovalev April 8, 2024, 10:32 a.m. UTC
From: Nicolas Haye <nicolas.haye@proton.me>

commit ca3afc2806046f626a1518f160a564b90f141f95 upstream.

Like many b1502 models,
the b1502CVA keyboard doesn't work because of an ACPI DSDT table that
describes IRQ 1 as ActiveLow while the kernel overrides it to Edge_High.

Signed-off-by: Nicolas Haye <nicolas.haye@proton.me>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 5697ccf902184e..a4f245669d24a5 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -468,6 +468,13 @@  static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "B1502CGA"),
 		},
 	},
+	{
+		/* Asus ExpertBook B1502CVA */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "B1502CVA"),
+		},
+	},
 	{
 		/* Asus ExpertBook B2402CBA */
 		.matches = {