1
0
Fork 0

reset: imx8m: Correct clock name for dispmix driver

devm_regmap_init_mmio_clk() will try to get clock by matching
clock-names property in dts with its clk_id. So the clock name
should be identical to name which clock registered. Otherwise,
devm_regmap_init_mmio_clk() will fail with -ENOENT error.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Guoniu.zhou 2019-10-23 15:02:25 +08:00 committed by Dong Aisheng
parent b92740311f
commit 7a139f7c25
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ static int dispmix_reset_probe(struct platform_device *pdev)
if (IS_ERR(regs))
return PTR_ERR(regs);
apb_clk = devm_clk_get(dev, "disp-apb");
apb_clk = devm_clk_get(dev, "disp_apb_root_clk");
if (IS_ERR(apb_clk)) {
dev_err(dev, "Unable to get disp apb clock\n");
return PTR_ERR(apb_clk);