diff options
author | Yamit Mehta <ymehta@codeaurora.org> | 2014-01-02 15:03:25 +0530 |
---|---|---|
committer | Yamit Mehta <ymehta@codeaurora.org> | 2014-01-02 17:14:44 +0530 |
commit | ea474d94034fe5b76047e3e1af35fb1eb164196f (patch) | |
tree | 35896ff0f3d7db61d327d9a94649b0ab85dbc41c /sound/soc/msm/msm8226.c | |
parent | feaee0e2ac5057712815b44cbe2830b67143c692 (diff) |
ASoC: msm8226: Add listen in device tree and BE dai links
Add support for listen feature by adding back end
dai links to machine driver and device tree
Change-Id: If74fadf67a19372e1dc4620bb7d3a99803c43e0b
Signed-off-by: Yamit Mehta <ymehta@codeaurora.org>
Diffstat (limited to 'sound/soc/msm/msm8226.c')
-rw-r--r-- | sound/soc/msm/msm8226.c | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/sound/soc/msm/msm8226.c b/sound/soc/msm/msm8226.c index 5b04e1c39370..d4e4915702b9 100644 --- a/sound/soc/msm/msm8226.c +++ b/sound/soc/msm/msm8226.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -1657,6 +1657,19 @@ static struct snd_soc_dai_link msm8226_9306_dai[] = { .ops = &msm8226_be_ops, .ignore_suspend = 1, }, + { + .name = LPASS_BE_SLIMBUS_5_TX, + .stream_name = "Slimbus5 Capture", + .cpu_dai_name = "msm-dai-q6-dev.16395", + .platform_name = "msm-pcm-routing", + .codec_name = "tapan_codec", + .codec_dai_name = "tapan_tx1", + .no_pcm = 1, + .be_id = MSM_BACKEND_DAI_SLIMBUS_5_TX, + .be_hw_params_fixup = msm_slim_0_tx_be_hw_params_fixup, + .ops = &msm8226_be_ops, + .ignore_suspend = 1, + }, }; static struct snd_soc_dai_link msm8226_9302_dai[] = { @@ -1773,6 +1786,19 @@ static struct snd_soc_dai_link msm8226_9302_dai[] = { .ops = &msm8226_be_ops, .ignore_suspend = 1, }, + { + .name = LPASS_BE_SLIMBUS_5_TX, + .stream_name = "Slimbus5 Capture", + .cpu_dai_name = "msm-dai-q6-dev.16395", + .platform_name = "msm-pcm-routing", + .codec_name = "tapan_codec", + .codec_dai_name = "tapan_tx1", + .no_pcm = 1, + .be_id = MSM_BACKEND_DAI_SLIMBUS_5_TX, + .be_hw_params_fixup = msm_slim_0_tx_be_hw_params_fixup, + .ops = &msm8226_be_ops, + .ignore_suspend = 1, + }, }; static struct snd_soc_dai_link msm8226_9306_dai_links[ |