summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/bdw-rt5677.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-03-27 19:04:55 +0300
committerMark Brown <broonie@kernel.org>2020-03-27 19:04:55 +0300
commit8c0b6e150c5b1e6359e4f478d9fa4aaae345979d (patch)
treed2075797f14eeae103213d0563c410931f5ad33e /sound/soc/intel/boards/bdw-rt5677.c
parenta23d7f4a7cf1a23c68f4869477c24c0320e1e8df (diff)
parentf25e203070e5b12e4db366ee99b86f33a968f1ae (diff)
downloadlinux-8c0b6e150c5b1e6359e4f478d9fa4aaae345979d.tar.xz
Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7
Diffstat (limited to 'sound/soc/intel/boards/bdw-rt5677.c')
-rw-r--r--sound/soc/intel/boards/bdw-rt5677.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/intel/boards/bdw-rt5677.c b/sound/soc/intel/boards/bdw-rt5677.c
index 06a5396082dd..6b4b64098d36 100644
--- a/sound/soc/intel/boards/bdw-rt5677.c
+++ b/sound/soc/intel/boards/bdw-rt5677.c
@@ -298,9 +298,6 @@ SND_SOC_DAILINK_DEF(be,
#if IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
SND_SOC_DAILINK_DEF(ssp0_port,
DAILINK_COMP_ARRAY(COMP_CPU("ssp0-port")));
-#else
-SND_SOC_DAILINK_DEF(ssp0_port,
- DAILINK_COMP_ARRAY(COMP_DUMMY()));
#endif
/* Wake on voice interface */
@@ -350,7 +347,11 @@ static struct snd_soc_dai_link bdw_rt5677_dais[] = {
.dpcm_playback = 1,
.dpcm_capture = 1,
.init = bdw_rt5677_init,
+#if !IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
+ SND_SOC_DAILINK_REG(dummy, be, dummy),
+#else
SND_SOC_DAILINK_REG(ssp0_port, be, platform),
+#endif
},
};