diff options
author | Krishnankutty Kolathappilly <kkolat@codeaurora.org> | 2013-11-19 11:13:37 -0800 |
---|---|---|
committer | Krishnankutty Kolathappilly <kkolat@codeaurora.org> | 2013-12-12 16:04:36 -0800 |
commit | 3dbd6349b67f322a78ca45afe17b26454ed1d306 (patch) | |
tree | feb58bda6c0c08ebe813c6e9b1a565e859b284a5 /sound/soc/msm/msm8226.c | |
parent | b8c8a3939281a05d74d9d49824351cb30f049e06 (diff) |
ASoC: msm8226: Add/update dai-links
Add new dai-link for compress cature and listen. Update the dai-link
index for voip 2 from 19 to 21.
Change-Id: I9a7ea541dc6cca68caa4f74be14c7ddc72e0df6c
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Diffstat (limited to 'sound/soc/msm/msm8226.c')
-rw-r--r-- | sound/soc/msm/msm8226.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sound/soc/msm/msm8226.c b/sound/soc/msm/msm8226.c index d58dabc3d3cc..b1bcb19c5c83 100644 --- a/sound/soc/msm/msm8226.c +++ b/sound/soc/msm/msm8226.c @@ -1334,7 +1334,38 @@ static struct snd_soc_dai_link msm8226_common_dai[] = { .codec_name = "snd-soc-dummy", .be_id = MSM_FRONTEND_DAI_QCHAT, }, + /* LSM FE */ {/* hw:x,19 */ + .name = "Listen Audio Service", + .stream_name = "Listen Audio Service", + .cpu_dai_name = "LSM", + .platform_name = "msm-lsm-client", + .dynamic = 1, + .trigger = {SND_SOC_DPCM_TRIGGER_POST, + SND_SOC_DPCM_TRIGGER_POST }, + .no_host_mode = SND_SOC_DAI_LINK_NO_HOST, + .ignore_suspend = 1, + .ignore_pmdown_time = 1, + .codec_dai_name = "snd-soc-dummy-dai", + .codec_name = "snd-soc-dummy", + .be_id = MSM_FRONTEND_DAI_LSM1, + }, + {/* hw:x,20 */ + .name = "MSM8226 Compr8", + .stream_name = "COMPR8", + .cpu_dai_name = "MultiMedia8", + .platform_name = "msm-compr-dsp", + .dynamic = 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, + .ignore_pmdown_time = 1, + /* this dainlink has playback support */ + .be_id = MSM_FRONTEND_DAI_MULTIMEDIA8, + }, + {/* hw:x,21 */ .name = "VoIP2", .stream_name = "VoIP2", .cpu_dai_name = "VoIP2", |