]> git.karo-electronics.de Git - karo-tx-linux.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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:50 +0000 (21:16 -0600)
commita6fe1a139b89606d3dc3af1cae074bc8de2a311c
treeb4974a84c441bc22b34f711f81f2a0cd9f71bf2b
parent0a4d5f8a7ef5823d44e9c5bf70be309316b0022c
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>
(cherry picked from commit 4f8210f66e5a200c63770ea9445ff913a28a3be2)
sound/soc/fsl/fsl_esai.c