platform/x86: asus-nb-wmi: Add quirk_asus_tablet_mode to other ROG Flow X13 models
authorweiliang1503 <weiliang1503@gmail.com>
Thu, 30 Mar 2023 11:49:43 +0000 (19:49 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 31 Mar 2023 17:36:14 +0000 (19:36 +0200)
Make quirk_asus_tablet_mode apply on other ROG Flow X13 devices,
which only affects the GV301Q model before.

Signed-off-by: weiliang1503 <weiliang1503@gmail.com>
Link: https://lore.kernel.org/r/20230330114943.15057-1-weiliang1503@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-nb-wmi.c

index cb15acd..e2c9a68 100644 (file)
@@ -464,7 +464,8 @@ static const struct dmi_system_id asus_quirks[] = {
                .ident = "ASUS ROG FLOW X13",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "GV301Q"),
+                       /* Match GV301** */
+                       DMI_MATCH(DMI_PRODUCT_NAME, "GV301"),
                },
                .driver_data = &quirk_asus_tablet_mode,
        },