MLK-16350-5: ASoC: imx-wm8962: fix clock rate issue
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 1 Sep 2017 05:46:47 +0000 (13:46 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:25 +0000 (15:38 -0500)
commit31f1e33d620956a5ccb2104715eea421b999d32b
tree4364a42ce41d189944f2db335c1da5b783cb0549
parent831a4b9a713042b4f842cca46316d0d64e0e7c3f
MLK-16350-5: ASoC: imx-wm8962: 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-wm8962.c