Commit 6618b5aa authored by Dong Aisheng's avatar Dong Aisheng Committed by Abel Vesa
Browse files

clk: imx: scu: detach pd if can't power up



detach pd if can't power up as it may be allocated to a differet
partition.

Signed-off-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: default avatarAbel Vesa <abel.vesa@nxp.com>
Signed-off-by: default avatarAbel Vesa <abel.vesa@nxp.com>
parent aecf425f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -512,6 +512,7 @@ static int imx_clk_scu_probe(struct platform_device *pdev)

	ret = pm_runtime_get_sync(dev);
	if (ret) {
		pm_genpd_remove_device(dev);
		pm_runtime_disable(dev);
		return ret;
	}