]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-nb-wmi: add DMI quirk for ASUS ROG Flow Z13-KJP GZ302EAC
authorMatthew Schwartz <matthew.schwartz@linux.dev>
Thu, 12 Mar 2026 21:22:46 +0000 (14:22 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 23 Mar 2026 12:49:03 +0000 (14:49 +0200)
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>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Reviewed-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260312212246.1608080-1-matthew.schwartz@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/asus-nb-wmi.c

index a38a65f5c550d0e3dd47d74cd7fa518290445e41..b4677c5bba5b44c3a3c9cdf95d7c47a7cf078693 100644 (file)
@@ -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,