MLK-16350-3: ASoC: imx-cs42888: fix clock rate issue
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 1 Sep 2017 05:40:23 +0000 (13:40 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:25 +0000 (15:38 -0500)
commita2f7f6469d1796f39871a9695b06341a36a0d3a2
tree477529429b1a60a3859f24d2a15704afa06d27c4
parentefeca046bd8e35c744398ac97791f20b18781688
MLK-16350-3: ASoC: imx-cs42888: fix clock rate issue

The rate returned by clk_get_rate in probe function is not correct,
for the power domain in that time may be closed, kernel get 0 rate
from scfw, so move the clk_get_rate to hw_params, in that time, the
power domain should be enabled

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/soc/fsl/imx-cs42888.c