asoc: kona: dailinks for RT PROXY

Addition of dai links so that the RT PROXY
port can be configured. All dai's are set
to snd-soc-dummy since there is no
configuration needed to be done on this
dais rather they are just used to satisfy
the stream to device connection.

Change-Id: Ie6002478d68f9ba272081be652042d6b95e03fe6
Signed-off-by: Aditya Mohan <aditmoha@codeaurora.org>
This commit is contained in:
Aditya Mohan
2020-04-27 12:33:05 +05:30
committed by Gerrit - the friendly Code Review server
orang tua ca765db76b
melakukan 1859d2a24b
2 mengubah file dengan 29 tambahan dan 0 penghapusan

Melihat File

@@ -655,6 +655,32 @@ static struct snd_soc_dai_link msm_common_dai_links[] = {
.ignore_suspend = 1,
.ops = &msm_common_be_ops,
},
{
.name = LPASS_BE_RT_PROXY_PCM_RX,
.stream_name = LPASS_BE_RT_PROXY_PCM_RX,
.cpu_dai_name = "snd-soc-dummy-dai",
.async_ops = ASYNC_DPCM_SND_SOC_PREPARE,
.dpcm_playback = 1,
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
SND_SOC_DPCM_TRIGGER_POST},
.codec_dai_name = "snd-soc-dummy-dai",
.codec_name = "snd-soc-dummy",
.ignore_suspend = 1,
/* this dainlink has playback support */
.ignore_pmdown_time = 1,
},
{
.name = LPASS_BE_RT_PROXY_PCM_TX,
.stream_name = LPASS_BE_RT_PROXY_PCM_TX,
.cpu_dai_name = "snd-soc-dummy-dai",
.async_ops = ASYNC_DPCM_SND_SOC_PREPARE,
.dpcm_capture = 1,
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
SND_SOC_DPCM_TRIGGER_POST},
.codec_dai_name = "snd-soc-dummy-dai",
.codec_name = "snd-soc-dummy",
.ignore_suspend = 1,
},
};
static struct snd_soc_dai_link msm_kona_dai_links[