提交 74ccb27c 编写于 作者: N Nicolin Chen 提交者: Mark Brown

ASoC: fsl_esai: Add stream names for DPCM usage

DPCM needs extra dapm routes in the machine driver to route audio
between Front-End and Back-End. In order to differ the stream names
in the route map from CODECs, we here add specific stream names to
ESAI driver so that we can implement ASRC via DPCM to it.
Signed-off-by: NNicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 ff40260f
...@@ -624,12 +624,14 @@ static int fsl_esai_dai_probe(struct snd_soc_dai *dai) ...@@ -624,12 +624,14 @@ static int fsl_esai_dai_probe(struct snd_soc_dai *dai)
static struct snd_soc_dai_driver fsl_esai_dai = { static struct snd_soc_dai_driver fsl_esai_dai = {
.probe = fsl_esai_dai_probe, .probe = fsl_esai_dai_probe,
.playback = { .playback = {
.stream_name = "CPU-Playback",
.channels_min = 1, .channels_min = 1,
.channels_max = 12, .channels_max = 12,
.rates = FSL_ESAI_RATES, .rates = FSL_ESAI_RATES,
.formats = FSL_ESAI_FORMATS, .formats = FSL_ESAI_FORMATS,
}, },
.capture = { .capture = {
.stream_name = "CPU-Capture",
.channels_min = 1, .channels_min = 1,
.channels_max = 8, .channels_max = 8,
.rates = FSL_ESAI_RATES, .rates = FSL_ESAI_RATES,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册