]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
platform/x86/amd: pmf: Add quirk for ROG Ally X
authorLuke D. Jones <luke@ljones.dev>
Mon, 29 Jul 2024 02:08:31 +0000 (14:08 +1200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 30 Jul 2024 12:29:35 +0000 (15:29 +0300)
The ASUS ROG Ally X has the same issue as the G14 where it advertises
SPS support but doesn't use it.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20240729020831.28117-1-luke@ljones.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/amd/pmf/pmf-quirks.c

index 0b2eb0ae85febdfcc62fbffddf231889f7842e22..460444cda1b295211eb419b1f9ba65d9900ec984 100644 (file)
@@ -29,6 +29,14 @@ static const struct dmi_system_id fwbug_list[] = {
                },
                .driver_data = &quirk_no_sps_bug,
        },
+       {
+               .ident = "ROG Ally X",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "RC72LA"),
+               },
+               .driver_data = &quirk_no_sps_bug,
+       },
        {}
 };
 
@@ -48,4 +56,3 @@ void amd_pmf_quirks_init(struct amd_pmf_dev *dev)
                        dmi_id->ident);
        }
 }
-