mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
ASoC: Intel: bdw-rt5677: change cpu_dai and platform components for SOF
The legacy driver uses dummy cpu_dai and platform, SOF requires actual values to bind. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200110235751.3404-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
630db15493
commit
4865bde187
1 changed files with 9 additions and 1 deletions
|
@ -295,6 +295,14 @@ SND_SOC_DAILINK_DEF(platform,
|
||||||
SND_SOC_DAILINK_DEF(be,
|
SND_SOC_DAILINK_DEF(be,
|
||||||
DAILINK_COMP_ARRAY(COMP_CODEC("i2c-RT5677CE:00", "rt5677-aif1")));
|
DAILINK_COMP_ARRAY(COMP_CODEC("i2c-RT5677CE:00", "rt5677-aif1")));
|
||||||
|
|
||||||
|
#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 */
|
/* Wake on voice interface */
|
||||||
SND_SOC_DAILINK_DEFS(dsp,
|
SND_SOC_DAILINK_DEFS(dsp,
|
||||||
DAILINK_COMP_ARRAY(COMP_CPU("spi-RT5677AA:00")),
|
DAILINK_COMP_ARRAY(COMP_CPU("spi-RT5677AA:00")),
|
||||||
|
@ -342,7 +350,7 @@ static struct snd_soc_dai_link bdw_rt5677_dais[] = {
|
||||||
.dpcm_playback = 1,
|
.dpcm_playback = 1,
|
||||||
.dpcm_capture = 1,
|
.dpcm_capture = 1,
|
||||||
.init = bdw_rt5677_init,
|
.init = bdw_rt5677_init,
|
||||||
SND_SOC_DAILINK_REG(dummy, be, dummy),
|
SND_SOC_DAILINK_REG(ssp0_port, be, platform),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue