[PATCH -next 1/3] drm/exynos: Add missing clk_disable_unprepare in exynos_fimd_resume
Gaosheng Cui
cuigaosheng1 at huawei.com
Sat Aug 3 06:30:28 UTC 2024
Add the missing clk_disable_unprepare() before return in
exynos_fimd_resume().
Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
---
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index f57df8c48139..7be90f120a7e 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -1312,6 +1312,7 @@ static int exynos_fimd_resume(struct device *dev)
DRM_DEV_ERROR(dev,
"Failed to prepare_enable the lcd clk [%d]\n",
ret);
+ clk_disable_unprepare(ctx->bus_clk);
return ret;
}
--
2.25.1
More information about the dri-devel
mailing list