MLK-23906-3: ASoC: fsl_easrc: Don't bind clock with regmap
The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() Cause the power domain of mem clock always be enabled. which impact the power consumption. so we can't bind clock with regmap, but explicitly enable clock when using. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
7cdd916faa
commit
b35c0a202e
|
@ -2294,7 +2294,7 @@ static int fsl_easrc_probe(struct platform_device *pdev)
|
|||
|
||||
easrc->paddr = res->start;
|
||||
|
||||
easrc->regmap = devm_regmap_init_mmio_clk(&pdev->dev, "mem", regs,
|
||||
easrc->regmap = devm_regmap_init_mmio_clk(&pdev->dev, NULL, regs,
|
||||
&fsl_easrc_regmap_config);
|
||||
if (IS_ERR(easrc->regmap)) {
|
||||
dev_err(&pdev->dev, "failed to init regmap");
|
||||
|
|
Loading…
Reference in New Issue