diff mbox series

ACPI: resources: Add ASUS model S5402ZA to quirks

Message ID 20220921172422.650880-1-kellen.renshaw@canonical.com
State Accepted
Commit 6e5cbe7c4b41824e500acbb42411da692d1435f1
Headers show
Series ACPI: resources: Add ASUS model S5402ZA to quirks | expand

Commit Message

Kellen Renshaw Sept. 21, 2022, 5:24 p.m. UTC
The Asus Vivobook S5402ZA has the same keyboard issue as Asus Vivobook 
K3402ZA/K3502ZA. The kernel overrides IRQ 1 to Edge_High when it
should be Active_Low.

This patch adds the S5402ZA model to the quirk list.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216158
Tested-by: Kellen Renshaw <kellen.renshaw@canonical.com>
Signed-off-by: Kellen Renshaw <kellen.renshaw@canonical.com>
---
Follows e12dee373673 (ACPI: resource: Skip IRQ override on Asus Vivobook 
K3402ZA/K3502ZA).

 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rafael J. Wysocki Sept. 24, 2022, 5:03 p.m. UTC | #1
On Wed, Sep 21, 2022 at 7:24 PM Kellen Renshaw
<kellen.renshaw@canonical.com> wrote:
>
> The Asus Vivobook S5402ZA has the same keyboard issue as Asus Vivobook
> K3402ZA/K3502ZA. The kernel overrides IRQ 1 to Edge_High when it
> should be Active_Low.
>
> This patch adds the S5402ZA model to the quirk list.
>
> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216158
> Tested-by: Kellen Renshaw <kellen.renshaw@canonical.com>
> Signed-off-by: Kellen Renshaw <kellen.renshaw@canonical.com>
> ---
> Follows e12dee373673 (ACPI: resource: Skip IRQ override on Asus Vivobook
> K3402ZA/K3502ZA).
>
>  drivers/acpi/resource.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 8b4faec8cae7..5d688e546239 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -414,6 +414,13 @@ static const struct dmi_system_id asus_laptop[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "K3502ZA"),
>                 },
>         },
> +       {
> +               .ident = "Asus Vivobook S5402ZA",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> +                       DMI_MATCH(DMI_BOARD_NAME, "S5402ZA"),
> +               },
> +       },
>         { }
>  };
>
> --

Applied as 6.1 material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 8b4faec8cae7..5d688e546239 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -414,6 +414,13 @@  static const struct dmi_system_id asus_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "K3502ZA"),
 		},
 	},
+	{
+		.ident = "Asus Vivobook S5402ZA",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "S5402ZA"),
+		},
+	},
 	{ }
 };