MLK-14761: ASoC: fsl_esai: fix esai sync mode can't work
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 28 Apr 2017 02:24:53 +0000 (10:24 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:06 +0000 (15:22 -0500)
commit9bdec2d597e21b254d87769bb48aafe42a643c5e
tree40aed9b8c0a0a6b9d83652dc07d8e0997f0ab22d
parentfb986e7c1fd9e05ce9210998bdad0249ed89bb72
MLK-14761: ASoC: fsl_esai: fix esai sync mode can't work

In ESAI synchronous mode, the clock is generated by Tx, So
we should always set registers of Tx which relate with the
bit clock and frame clock generation (TCCR, TCR, ECR), even
there is only Rx is working.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
sound/soc/fsl/fsl_esai.c