]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitacb10675e360f1d6508bd563b8d0bdf8201ea93d
treea7ff3110a8aa5ae93022644559ee0eea00d51235
parentc8244d68719259da02df8e7f4335cf42094c7a36
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