ASoC: fsl_esai: Set PCRC and PRRC registers at the end of hw_params()
authorNicolin Chen <Guangyu.Chen@freescale.com>
Tue, 6 May 2014 08:56:02 +0000 (16:56 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 12 May 2014 22:13:13 +0000 (23:13 +0100)
commit4f8210f66e5a200c63770ea9445ff913a28a3be2
treea7ff3110a8aa5ae93022644559ee0eea00d51235
parent57ebbcafab0ce8cce4493c6a243ecdd7066e6ef1
ASoC: fsl_esai: Set PCRC and PRRC registers at the end of hw_params()

According to Reference Manual -- ESAI Initialization chapter, as the
standard procedure of ESAI personal reset, the PCRC and PRRC registers
should be remained in its reset value and then configured after T/RCCR
and T/RCR configurations's done but before TE/RE's enabling.

So this patch moves PCRC and PRRC settings to the end of hw_params().

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_esai.c