commit | e6dc12d7198eddba2e3e7a13feab5c7edde7ba1d | [log] [tgz] |
---|---|---|
author | Xiubo Li <Li.Xiubo@freescale.com> | Wed Dec 25 11:20:14 2013 +0800 |
committer | Mark Brown <broonie@linaro.org> | Mon Dec 30 12:00:56 2013 +0000 |
tree | 0caa2620728565c9cbec51b2b2068445ebf36f99 | |
parent | 4e3a99f5b004b30bc604d82e5498700649148e0d [diff] |
ASoC: fsl_sai: Move the global registers setting to _dai_probe() 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>