1
0
Fork 0

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
Shengjiu Wang 2020-05-06 13:43:15 +08:00
parent 7cdd916faa
commit b35c0a202e
1 changed files with 1 additions and 1 deletions

View File

@ -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");