ASoC: msm8998: Fix misordering of Tavil codec SLIMBUS TX channels

Recording is failing for Tavil codec due to no input from microphones
that caused by wrong shared TX channels. Correct the order of Tavil
codec SLIMBUS TX channels to avoid wrong shared channel number being
used while enabling TX ports.

CRs-Fixed: 1114886
Change-Id: Ief94556995961f87e0effa092caf370b0927150a
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
This commit is contained in:
Xiaoyu Ye 2017-01-24 15:36:28 -08:00
parent 314869eb56
commit 243ede5fbe

View file

@ -3329,10 +3329,11 @@ static int msm_audrx_init(struct snd_soc_pcm_runtime *rtd)
* TX14, TX15, TX16
*/
unsigned int rx_ch_tavil[WCD934X_RX_MAX] = {144, 145, 146, 147, 148,
149, 150, 151};
149, 150, 151};
unsigned int tx_ch_tavil[WCD934X_TX_MAX] = {128, 129, 130, 131, 132,
134, 135, 136, 137, 138, 139,
133, 140, 141, 142, 143};
133, 134, 135, 136, 137,
138, 139, 140, 141, 142,
143};
pr_info("%s: dev_name%s\n", __func__, dev_name(cpu_dai->dev));