summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/sof_sdw_rt715.c
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2021-10-27 10:18:20 +0800
committerMark Brown <broonie@kernel.org>2021-11-15 13:26:55 +0000
commitbf605cb042307d162fbcb094738bab5d767f1261 (patch)
tree0e733ab39376432e755573bc507895e8203f7b11 /sound/soc/intel/boards/sof_sdw_rt715.c
parentd471c034f83201f84330e9ed46ad5139d32e77ce (diff)
downloadlinux-stable-bf605cb042307d162fbcb094738bab5d767f1261.tar.gz
linux-stable-bf605cb042307d162fbcb094738bab5d767f1261.tar.bz2
linux-stable-bf605cb042307d162fbcb094738bab5d767f1261.zip
ASoC: intel: sof_sdw: move DMIC link id overwrite to create_sdw_dailink
We can apply the fixed dai link id for DMICs in create_sdw_dailink(). No need to set it in each DMIC's callback. The fixed dai link id is not only for rt715 and rt715-sdca, but for all DMICs, therefore we remove the SOF_RT715_DAI_ID_FIX check as well. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20211027021824.24776-7-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_sdw_rt715.c')
-rw-r--r--sound/soc/intel/boards/sof_sdw_rt715.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/intel/boards/sof_sdw_rt715.c b/sound/soc/intel/boards/sof_sdw_rt715.c
index c8af3780cbc3..7c068dc6b9cf 100644
--- a/sound/soc/intel/boards/sof_sdw_rt715.c
+++ b/sound/soc/intel/boards/sof_sdw_rt715.c
@@ -30,13 +30,6 @@ int sof_sdw_rt715_init(struct snd_soc_card *card,
struct sof_sdw_codec_info *info,
bool playback)
{
- /*
- * DAI ID is fixed at SDW_DMIC_DAI_ID for 715 to
- * keep sdw DMIC and HDMI setting static in UCM
- */
- if (sof_sdw_quirk & SOF_RT715_DAI_ID_FIX)
- dai_links->id = SDW_DMIC_DAI_ID;
-
dai_links->init = rt715_rtd_init;
return 0;