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
parent
b92740311f
commit
7a139f7c25
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue