[PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC

Matthew Schwartz posted 1 patch 3 weeks, 4 days ago
There is a newer version of this series
drivers/platform/x86/asus-nb-wmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
Posted by Matthew Schwartz 3 weeks, 4 days ago
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
Re: [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
Posted by Ilpo Järvinen 3 weeks ago
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.
Re: [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
Posted by Mario Limonciello (AMD) (kernel.org) 3 weeks, 4 days ago

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,
Re: [PATCH] platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
Posted by Denis Benato 3 weeks, 4 days ago
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,
>