diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2013-12-25 03:20:14 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:36:24 (GMT) |
commit | c7985f927b17047a3003493f5eb2883006e5eb2b (patch) | |
tree | 43e6f658ed430f9744a40cf65977a4337b05ef22 /net | |
parent | fbadc482cdadf739ff08fde113e8a0baafcfe4b5 (diff) | |
download | linux-fsl-qoriq-c7985f927b17047a3003493f5eb2883006e5eb2b.tar.xz |
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>
---
This patch is pulled back from upstream:
commit e6dc12d7198eddba2e3e7a13feab5c7edde7ba1d
Change-Id: Ie77345f4a2d84d55443e84d1c4cb2d2a9db766d0
Reviewed-on: http://git.am.freescale.net:8181/19746
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions