MLK-9782: ASoC: fsl_esai: fix the channel swap issue in low possibility
authorShengjiu Wang <shengjiu.wang@freescale.com>
Mon, 3 Nov 2014 08:47:17 +0000 (16:47 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:11 +0000 (14:48 -0500)
commite66727651c7749f02ff78cbbfed892731d631b27
tree6e9d891d0c5f14a0e79d0f0eb433c9e7cd40ba5c
parent56d32970ed8d4368cc06fab960da9e0031f5bf69
MLK-9782: ASoC: fsl_esai: fix the channel swap issue in low possibility

There is very low possibility that channel swap happened in beginning when
multi output/input pin is enabled. The issue is that hardware can't send data
to correct pin in the begginning with the normal enable flow.
Here use TSMA/TSMB as the trigger for sending data to workaround this issue.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 859b0fc4544bef30e269b4f6a81999db1d07a42d)
(cherry picked from commit 576df2aafc1b5a5b9c596a54bb276b2472e72ff5)
sound/soc/fsl/fsl_esai.c