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>
This commit is contained in:
Siddartha Shaik 2017-06-14 11:43:06 +05:30 committed by Gerrit - the friendly Code Review server
parent d71fb41d0f
commit 41144e80b6

View file

@ -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,