diff mbox series

ACPI: resource: Use IRQ override on Maibenben X565

Message ID 20240304092733.49466-1-kalinichev.so.0@gmail.com
State Accepted
Commit 00efe7fcf9ceeff0808bca9460afb49e7ada6068
Headers show
Series ACPI: resource: Use IRQ override on Maibenben X565 | expand

Commit Message

Sergey Kalinichev March 4, 2024, 9:26 a.m. UTC
Use ACPI IRQ override on Maibenben X565 laptop to make the internal keyboard work.
Add a new entry to the irq1_edge_low_force_override structure, similar to the existing ones.

Signed-off-by: Sergey Kalinichev <kalinichev.so.0@gmail.com>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rafael J. Wysocki March 5, 2024, 8:34 p.m. UTC | #1
On Mon, Mar 4, 2024 at 10:28 AM Sergey Kalinichev
<kalinichev.so.0@gmail.com> wrote:
>
> Use ACPI IRQ override on Maibenben X565 laptop to make the internal keyboard work.
> Add a new entry to the irq1_edge_low_force_override structure, similar to the existing ones.
>
> Signed-off-by: Sergey Kalinichev <kalinichev.so.0@gmail.com>
> ---
>  drivers/acpi/resource.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index dacad1d84..485ecc235 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -588,6 +588,13 @@ static const struct dmi_system_id irq1_edge_low_force_override[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "GM5RGEE0016COM"),
>                 },
>         },
> +       {
> +               /* Maibenben X565 */
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "MAIBENBEN"),
> +                       DMI_MATCH(DMI_BOARD_NAME, "X565"),
> +               },
> +       },
>         { }
>  };
>
> --

Applied as 6.9 material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index dacad1d84..485ecc235 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -588,6 +588,13 @@  static const struct dmi_system_id irq1_edge_low_force_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "GM5RGEE0016COM"),
 		},
 	},
+	{
+		/* Maibenben X565 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MAIBENBEN"),
+			DMI_MATCH(DMI_BOARD_NAME, "X565"),
+		},
+	},
 	{ }
 };