The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
@ 2026-03-12 21:22 Matthew Schwartz
  2026-03-12 21:45 ` Mario Limonciello (AMD) (kernel.org)
  2026-03-17 13:01 ` Ilpo Järvinen
  0 siblings, 2 replies; 4+ messages in thread
From: Matthew Schwartz @ 2026-03-12 21:22 UTC (permalink / raw)
  To: Denis Benato, Hans de Goede, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel, Matthew Schwartz

The ASUS ROG Flow Z13-KJP GZ302EAC model uses sys_vendor name ASUS
rather than ASUSTeK COMPUTER INC., but it needs the same folio quirk as
the other ROG Flow Z13. To keep things simple, just match on sys_vendor
ASUS since it covers both.

Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>
---
 drivers/platform/x86/asus-nb-wmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index a38a65f5c550d..b4677c5bba5b4 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -548,7 +548,7 @@ static const struct dmi_system_id asus_quirks[] = {
 		.callback = dmi_matched,
 		.ident = "ASUS ROG Z13",
 		.matches = {
-			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUS"),
 			DMI_MATCH(DMI_PRODUCT_NAME, "ROG Flow Z13"),
 		},
 		.driver_data = &quirk_asus_z13,
-- 
2.53.0


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

* Re: [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
  2026-03-12 21:22 [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC Matthew Schwartz
@ 2026-03-12 21:45 ` Mario Limonciello (AMD) (kernel.org)
  2026-03-13  1:03   ` Denis Benato
  2026-03-17 13:01 ` Ilpo Järvinen
  1 sibling, 1 reply; 4+ messages in thread
From: Mario Limonciello (AMD) (kernel.org) @ 2026-03-12 21:45 UTC (permalink / raw)
  To: Matthew Schwartz, Denis Benato, Hans de Goede, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel



On 3/12/2026 4:22 PM, Matthew Schwartz wrote:
> The ASUS ROG Flow Z13-KJP GZ302EAC model uses sys_vendor name ASUS
> rather than ASUSTeK COMPUTER INC., but it needs the same folio quirk as
> the other ROG Flow Z13. To keep things simple, just match on sys_vendor
> ASUS since it covers both.
> 
> Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>

Nice solution to this.

Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
> ---
>   drivers/platform/x86/asus-nb-wmi.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
> index a38a65f5c550d..b4677c5bba5b4 100644
> --- a/drivers/platform/x86/asus-nb-wmi.c
> +++ b/drivers/platform/x86/asus-nb-wmi.c
> @@ -548,7 +548,7 @@ static const struct dmi_system_id asus_quirks[] = {
>   		.callback = dmi_matched,
>   		.ident = "ASUS ROG Z13",
>   		.matches = {
> -			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> +			DMI_MATCH(DMI_SYS_VENDOR, "ASUS"),
>   			DMI_MATCH(DMI_PRODUCT_NAME, "ROG Flow Z13"),
>   		},
>   		.driver_data = &quirk_asus_z13,


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

* Re: [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
  2026-03-12 21:45 ` Mario Limonciello (AMD) (kernel.org)
@ 2026-03-13  1:03   ` Denis Benato
  0 siblings, 0 replies; 4+ messages in thread
From: Denis Benato @ 2026-03-13  1:03 UTC (permalink / raw)
  To: Mario Limonciello (AMD) (kernel.org), Matthew Schwartz,
	Hans de Goede, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel


On 3/12/26 22:45, Mario Limonciello (AMD) (kernel.org) wrote:
>
>
> On 3/12/2026 4:22 PM, Matthew Schwartz wrote:
>> The ASUS ROG Flow Z13-KJP GZ302EAC model uses sys_vendor name ASUS
>> rather than ASUSTeK COMPUTER INC., but it needs the same folio quirk as
>> the other ROG Flow Z13. To keep things simple, just match on sys_vendor
>> ASUS since it covers both.
>>
>> Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>
>
> Nice solution to this.
>
Reviewed-by: Denis Benato <denis.benato@linux.dev>
> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
>> ---
>>   drivers/platform/x86/asus-nb-wmi.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
>> index a38a65f5c550d..b4677c5bba5b4 100644
>> --- a/drivers/platform/x86/asus-nb-wmi.c
>> +++ b/drivers/platform/x86/asus-nb-wmi.c
>> @@ -548,7 +548,7 @@ static const struct dmi_system_id asus_quirks[] = {
>>           .callback = dmi_matched,
>>           .ident = "ASUS ROG Z13",
>>           .matches = {
>> -            DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
>> +            DMI_MATCH(DMI_SYS_VENDOR, "ASUS"),
>>               DMI_MATCH(DMI_PRODUCT_NAME, "ROG Flow Z13"),
>>           },
>>           .driver_data = &quirk_asus_z13,
>

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

* Re: [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
  2026-03-12 21:22 [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC Matthew Schwartz
  2026-03-12 21:45 ` Mario Limonciello (AMD) (kernel.org)
@ 2026-03-17 13:01 ` Ilpo Järvinen
  1 sibling, 0 replies; 4+ messages in thread
From: Ilpo Järvinen @ 2026-03-17 13:01 UTC (permalink / raw)
  To: Denis Benato, Hans de Goede, Matthew Schwartz
  Cc: platform-driver-x86, linux-kernel

On Thu, 12 Mar 2026 14:22:46 -0700, Matthew Schwartz wrote:

> The ASUS ROG Flow Z13-KJP GZ302EAC model uses sys_vendor name ASUS
> rather than ASUSTeK COMPUTER INC., but it needs the same folio quirk as
> the other ROG Flow Z13. To keep things simple, just match on sys_vendor
> ASUS since it covers both.
> 
> 


Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
      commit: dbde8a0aa45023c52c9769ea086e2bbe576228be

--
 i.


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

end of thread, other threads:[~2026-03-17 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-12 21:22 [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC Matthew Schwartz
2026-03-12 21:45 ` Mario Limonciello (AMD) (kernel.org)
2026-03-13  1:03   ` Denis Benato
2026-03-17 13:01 ` Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox