diff mbox series

ACPI: resource: Add Asus Vivobook N6506MV to irq1_level_low_skip_override

Message ID 20240430184146.66887-1-breq@breq.dev
State New
Headers show
Series ACPI: resource: Add Asus Vivobook N6506MV to irq1_level_low_skip_override | expand

Commit Message

Brooke Chalmers April 30, 2024, 6:40 p.m. UTC
Override the keyboard IRQ level on Asus Vivobook N6506MV laptops to make
the internal keyboard functional.

Add a new entry to the irq1_level_low_skip_override structure, similar
to the existing ones.

Signed-off-by: Brooke Chalmers <breq@breq.dev>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

--
2.44.0

Comments

Rafael J. Wysocki April 30, 2024, 7:26 p.m. UTC | #1
On Tue, Apr 30, 2024 at 8:42 PM Brooke Chalmers <breq@breq.dev> wrote:
>
> Override the keyboard IRQ level on Asus Vivobook N6506MV laptops to make
> the internal keyboard functional.
>
> Add a new entry to the irq1_level_low_skip_override structure, similar
> to the existing ones.
>
> Signed-off-by: Brooke Chalmers <breq@breq.dev>
> ---
>  drivers/acpi/resource.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 59423fe9d0f2..1097d9dd657b 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -440,6 +440,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
>                 },
>         },
> +       {
> +               /* Asus Vivobook N6506MV */
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> +                       DMI_MATCH(DMI_BOARD_NAME, "N6506MV"),
> +               },
> +       },
>         {
>                 /* Asus ExpertBook B1402CBA */
>                 .matches = {
> --

I think that this is equivalent to

https://patchwork.kernel.org/project/linux-acpi/patch/20240428170841.487584-1-tamim@fusetak.com/

that has just been applied.

Thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 59423fe9d0f2..1097d9dd657b 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -440,6 +440,13 @@  static const struct dmi_system_id irq1_level_low_skip_override[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"),
 		},
 	},
+	{
+		/* Asus Vivobook N6506MV */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "N6506MV"),
+		},
+	},
 	{
 		/* Asus ExpertBook B1402CBA */
 		.matches = {