]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: Intel: sof_sdw: Add quirk to exclude RT722 speaker
authorMac Chiang <mac.chiang@intel.com>
Tue, 11 Nov 2025 12:37:33 +0000 (20:37 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 11 Nov 2025 12:41:10 +0000 (12:41 +0000)
This SKU does not use the RT722 internal speaker. Add
SOC_SDW_CODEC_SPKR to prevent DAI being created via
codec_info_list.dais.quirk_exclude.

Other SKUs continue to check higher-priority sdca_functions
when the BIOS SDCA property is present.

Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20251111123737.246626-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index c013e31d098e716df40363185515cb2fba7c50d9..70955ca60a31da90446829c469c47c1fc8775eaa 100644 (file)
@@ -757,6 +757,17 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                },
                .driver_data = (void *)(SOC_SDW_PCH_DMIC),
        },
+       {
+               .callback = sof_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Google"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Francka"),
+               },
+               .driver_data = (void *)(SOC_SDW_CODEC_SPKR |
+                                       SOC_SDW_PCH_DMIC |
+                                       SOF_BT_OFFLOAD_SSP(2) |
+                                       SOF_SSP_BT_OFFLOAD_PRESENT),
+       },
        {
                .callback = sof_sdw_quirk_cb,
                .matches = {