]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita58a884eff4988bd4d2796bfdc6093bcfb4327b1
tree7360e08ba6befe3d51b9ac0597f24493d6dab6c7
parent11f8cd937a6badf46eeded4a4ebcfc643623d438
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