diff options
author | Satya Krishna Pindiproli <satyak@codeaurora.org> | 2014-02-11 06:06:34 +0530 |
---|---|---|
committer | Satya Krishna Pindiproli <satyak@codeaurora.org> | 2014-02-18 23:32:06 +0530 |
commit | a568221778cab2bbb9897a4a54f5cf1c5f007695 (patch) | |
tree | 7cec9b03df96ff7752fdcf032a5410427f35a5d2 /sound/soc/msm/msm8226.c | |
parent | 816351dd715734f3d703b9b37e548e17422a5452 (diff) |
ASoC: msm8x26: Add support for HFP
Add front end DAI hostless for HFP Rx
Add front end DAI ASM loopback for HFP Tx
Change-Id: Ica1bf009680da0d6262873952e477b42001b5e45
Signed-off-by: Satya Krishna Pindiproli <satyak@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 063c9d53c4d1..3265d0bd3e9b 100644 --- a/sound/soc/msm/msm8226.c +++ b/sound/soc/msm/msm8226.c @@ -1547,6 +1547,37 @@ static struct snd_soc_dai_link msm8226_common_dai[] = { .codec_name = "snd-soc-dummy", .be_id = MSM_FRONTEND_DAI_LSM8, }, + { + .name = "INT_HFP_BT Hostless", + .stream_name = "INT_HFP_BT Hostless", + .cpu_dai_name = "INT_HFP_BT_HOSTLESS", + .platform_name = "msm-pcm-hostless", + .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, + /* this dai link has playback support */ + .ignore_pmdown_time = 1, + .codec_dai_name = "snd-soc-dummy-dai", + .codec_name = "snd-soc-dummy", + }, + { + .name = "MSM8226 HFP TX", + .stream_name = "MultiMedia6", + .cpu_dai_name = "MultiMedia6", + .platform_name = "msm-pcm-loopback", + .dynamic = 1, + .codec_dai_name = "snd-soc-dummy-dai", + .codec_name = "snd-soc-dummy", + .trigger = {SND_SOC_DPCM_TRIGGER_POST, + SND_SOC_DPCM_TRIGGER_POST}, + .ignore_suspend = 1, + .no_host_mode = SND_SOC_DAI_LINK_NO_HOST, + /* this dai link has playback support */ + .ignore_pmdown_time = 1, + .be_id = MSM_FRONTEND_DAI_MULTIMEDIA6, + }, /* Backend BT/FM DAI Links */ { .name = LPASS_BE_INT_BT_SCO_RX, |