linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI: resources: Add ASUS model S5402ZA to quirks
@ 2022-09-21 17:24 Kellen Renshaw
  2022-09-24 17:03 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Kellen Renshaw @ 2022-09-21 17:24 UTC (permalink / raw)
  To: linux-acpi; +Cc: linux-kernel, rafael, lenb, hui.wang, kellen.renshaw

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"),
+		},
+	},
 	{ }
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ACPI: resources: Add ASUS model S5402ZA to quirks
  2022-09-21 17:24 [PATCH] ACPI: resources: Add ASUS model S5402ZA to quirks Kellen Renshaw
@ 2022-09-24 17:03 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-09-24 17:03 UTC (permalink / raw)
  To: Kellen Renshaw
  Cc: ACPI Devel Maling List, Linux Kernel Mailing List,
	Rafael J. Wysocki, Len Brown, Hui Wang

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-24 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 17:24 [PATCH] ACPI: resources: Add ASUS model S5402ZA to quirks Kellen Renshaw
2022-09-24 17:03 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).