dev_err(&pdev->dev,
"failed to register thermal zone sensor[%d]: %d\n",
i, ret);
dev_err(&pdev->dev,
"failed to register thermal zone sensor[%d]: %d\n",
i, ret);
}
tmu->sensors[i].hw_id = i;
}
}
tmu->sensors[i].hw_id = i;
}
imx8mm_tmu_enable(tmu, true);
return 0;
imx8mm_tmu_enable(tmu, true);
return 0;
+
+disable_clk:
+ clk_disable_unprepare(tmu->clk);
+ return ret;
}
static int imx8mm_tmu_remove(struct platform_device *pdev)
}
static int imx8mm_tmu_remove(struct platform_device *pdev)