ASoC: fsl_asrc: Set ASR76K and ASR56K based on processing clock
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 12 May 2020 10:22:59 +0000 (18:22 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 19 May 2020 13:18:51 +0000 (14:18 +0100)
commitf8953043e6e24f9425249464605a541d00950709
treebab0e59aa7b73ccf1cc0c5a5d6c64d2cb18e6f52
parent0e0e10fde0e9808d1991268f5dca69fb36c025f7
ASoC: fsl_asrc: Set ASR76K and ASR56K based on processing clock

The processing clock is different for platforms, so it is better
to set ASR76K and ASR56K based on processing clock, rather than
hard coding the value for them.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Mihai Serban <mihai.serban@nxp.com>
Link: https://lore.kernel.org/r/1589278979-31008-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc.c