MLK-23651: ASoC: fsl_spdif: Fix hang issue in reboot
In reboot, system will try to access regisers through
the dai controls, but the clock is not bind with regmap,
then system hang.
So we enable regcache_cache_only in probe to fix this
issue.
Fixes: d55d453fdf
("MLK-23618-11: ASoC: fsl_spdif: Don't bind clock with regmap")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
This commit is contained in:
parent
c459da2814
commit
bb6511173a
|
@ -1505,6 +1505,7 @@ static int fsl_spdif_probe(struct platform_device *pdev)
|
||||||
clk_disable_unprepare(spdif_priv->coreclk);
|
clk_disable_unprepare(spdif_priv->coreclk);
|
||||||
|
|
||||||
pm_runtime_enable(&pdev->dev);
|
pm_runtime_enable(&pdev->dev);
|
||||||
|
regcache_cache_only(spdif_priv->regmap, true);
|
||||||
|
|
||||||
/* Register with ASoC */
|
/* Register with ASoC */
|
||||||
dev_set_drvdata(&pdev->dev, spdif_priv);
|
dev_set_drvdata(&pdev->dev, spdif_priv);
|
||||||
|
|
Loading…
Reference in a new issue