MLK-16350-4: ASoC: imx_mqs: fix the clock rate issue
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 1 Sep 2017 05:45:13 +0000 (13:45 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:25 +0000 (15:38 -0500)
commit831a4b9a713042b4f842cca46316d0d64e0e7c3f
treecbbe00785a9bba99f5f266c29cbfadb3396e796a
parenta2f7f6469d1796f39871a9695b06341a36a0d3a2
MLK-16350-4: ASoC: imx_mqs: fix the 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-mqs.c