]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: Intel: sof_sdw: Add a dev_dbg message for the SOC_SDW_CODEC_MIC quirk
authorSimon Trimmer <simont@opensource.cirrus.com>
Fri, 6 Dec 2024 07:58:58 +0000 (15:58 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 9 Dec 2024 13:12:04 +0000 (13:12 +0000)
Add debug message when SOC_SDW_CODEC_MIC is enabled (which informs the
machine driver to not bind in the cs42l43 microphone DAI link).

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20241206075903.195730-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index 70a1d1620e06fc1f01aa464b7a73e3fc09326d00..0652d17a81ddc6ca5a572e9e5494027cecf36664 100644 (file)
@@ -44,6 +44,8 @@ static void log_quirks(struct device *dev)
                dev_dbg(dev, "quirk SOC_SDW_CODEC_SPKR enabled\n");
        if (sof_sdw_quirk & SOC_SDW_SIDECAR_AMPS)
                dev_dbg(dev, "quirk SOC_SDW_SIDECAR_AMPS enabled\n");
+       if (sof_sdw_quirk & SOC_SDW_CODEC_MIC)
+               dev_dbg(dev, "quirk SOC_SDW_CODEC_MIC enabled\n");
 }
 
 static int sof_sdw_quirk_cb(const struct dmi_system_id *id)