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:

committed by
Gerrit - the friendly Code Review server

parent
ca765db76b
commit
1859d2a24b
26
asoc/kona.c
26
asoc/kona.c
@@ -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[
|
||||
|
@@ -104,4 +104,7 @@
|
||||
#define LPASS_BE_TX_CDC_DMA_TX_4 "CODEC_DMA-LPAIF_RXTX-TX-4"
|
||||
#define LPASS_BE_TX_CDC_DMA_TX_5 "CODEC_DMA-LPAIF_RXTX-TX-5"
|
||||
|
||||
#define LPASS_BE_RT_PROXY_PCM_RX "PCM_RT_PROXY-RX-1"
|
||||
#define LPASS_BE_RT_PROXY_PCM_TX "PCM_RT_PROXY-TX-1"
|
||||
|
||||
#endif /*_MSM_AUDIO_DEFS_H*/
|
||||
|
Reference in New Issue
Block a user