Re: [PATCH] ASoC: fsl_sai: Move the global registers setting to _dai_probe()

2013-12-30 Thread Mark Brown
On Wed, Dec 25, 2013 at 11:20:14AM +0800, Xiubo Li wrote: > 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

[PATCH] ASoC: fsl_sai: Move the global registers setting to _dai_probe()

2013-12-24 Thread Xiubo Li
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 l