summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddartha Shaik <sshaik@codeaurora.org>2017-06-14 11:43:06 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-06-18 21:55:25 -0700
commit41144e80b67849f3700273bcff48de5b653f2b6e (patch)
treec3e6b3b73fb381f1cb998f46b423518e678012ef
parentd71fb41d0f7f02e453377c31d0e32edaf2dd05c7 (diff)
ASoC: msm: Update mixer control for QUAT MI2S TX Format
DSP loopback uses QUAT MI2S TX as source interface so mixer control is updated for QUAT MI2S TX Format to support compressed and pcm input data formats. CRs-Fixed: 2061759 Change-Id: I8c283de767f938ae8f4e1180a9dffc79a1da7ff0 Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
-rw-r--r--sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c b/sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c
index 64b1961794b9..fa8bdddacef2 100644
--- a/sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c
+++ b/sound/soc/msm/qdsp6v2/msm-dai-q6-v2.c
@@ -3586,6 +3586,9 @@ static int msm_dai_q6_dai_mi2s_probe(struct snd_soc_dai *dai)
ctrl = &mi2s_config_controls[11];
}
+ if (dai->id == MSM_QUAT_MI2S)
+ ctrl = &mi2s_config_controls[8];
+
if (ctrl) {
rc = snd_ctl_add(dai->component->card->snd_card,
snd_ctl_new1(ctrl,