ASoC: fsl_esai: Support synchronous mode
authorS.j. Wang <shengjiu.wang@nxp.com>
Thu, 4 Apr 2019 09:40:56 +0000 (09:40 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 5 Apr 2019 02:54:03 +0000 (09:54 +0700)
commit1997ee89f36da906efb8e700f1d08368c73883be
tree4449b9f37eefa3171bf428ea23c720e069a3b874
parent2114171d9cce1a897bee394b06f6c224247f095c
ASoC: fsl_esai: Support synchronous mode

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@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_esai.c