ASoC: fsl-sai: set xCR4/xCR5/xMR for SAI master mode
authorZidan Wang <zidan.wang@freescale.com>
Mon, 9 Nov 2015 11:03:13 +0000 (19:03 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 17 Nov 2015 18:51:39 +0000 (18:51 +0000)
commit51659ca069ce5bdf20675a7967a39ef8419e87f2
tree7360e08ba6befe3d51b9ac0597f24493d6dab6c7
parent9cc58712358cbfe51248ef369fc50671149b60fc
ASoC: fsl-sai: set xCR4/xCR5/xMR for SAI master mode

For SAI master mode, when Tx(Rx) sync with Rx(Tx) clock, Rx(Tx) will
generate bclk and frame clock for Tx(Rx), we should set RCR4(TCR4),
RCR5(TCR5) and RMR(TMR) for playback(capture), or there will be sync
error sometimes.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c