ASoC: fsl_sai: Move the global registers setting to _dai_probe()
authorXiubo Li <Li.Xiubo@freescale.com>
Wed, 25 Dec 2013 03:20:14 +0000 (11:20 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 30 Dec 2013 12:00:56 +0000 (12:00 +0000)
Because we cannot make sure which one of _dai_fmt() and _dai_sysclk()
will be firstly called. So move the RCSR/TCSR and TCR1/RCR1's
initialization to _dai_probe(), and this can make sure that before any
of {T,R}CR{1~5} register to be set the RCSR/TCSR's RE/TE bit has been
cleared for the hareware limitation.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found