ASoC: SOF: amd: Optimize quirk for Valve Galileo
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 19 Dec 2023 03:07:24 +0000 (05:07 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jan 2024 00:06:29 +0000 (00:06 +0000)
Valve's Steam Deck OLED is uniquely identified by vendor and product
name (Galileo) DMI fields.

Simplify the quirk by removing the unnecessary match on product family.

Additionally, fix the related comment as it points to the old product
variant.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Link: https://msgid.link/r/20231219030728.2431640-7-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/acp.c

index 9c56d8adf8c55ee81372a98e98119c3ad7892a89..dd33d24b3962df6f847b7e0848e5f14b61d036d1 100644 (file)
@@ -28,11 +28,10 @@ MODULE_PARM_DESC(enable_fw_debug, "Enable Firmware debug");
 
 const struct dmi_system_id acp_sof_quirk_table[] = {
        {
-               /* Valve Jupiter device */
+               /* Steam Deck OLED device */
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Valve"),
                        DMI_MATCH(DMI_PRODUCT_NAME, "Galileo"),
-                       DMI_MATCH(DMI_PRODUCT_FAMILY, "Sephiroth"),
                },
                .driver_data = (void *)SECURED_FIRMWARE,
        },