summarylogtreecommitdiffstats
path: root/0002-ACPI-resource-Skip-IRQ-override-on-ASUS-TUF-Gaming-A.patch
blob: b008c2f1f8056c3094da74011db814ddc2492c34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From b64b6dd97c6cdfbd858198fff9a9481f279c05ff Mon Sep 17 00:00:00 2001
From: "Luke D. Jones" <luke@ljones.dev>
Date: Sun, 30 Apr 2023 10:56:34 +1200
Subject: [PATCH 02/11] ACPI: resource: Skip IRQ override on ASUS TUF Gaming
 A16

The TUF Gaming A16 FA617NS requires an irq override for full keyboard
functionality.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index cefc3b24a845..065e55eb78f5 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -474,6 +474,13 @@ static const struct dmi_system_id asus_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "FA507NV"),
 		},
 	},
+	{
+		.ident = "ASUS TUF Gaming A16 FA617NS",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "FA617NS"),
+		},
+	},
 	{ }
 };
 
-- 
2.40.1