diff mbox series

[-next,1/3] drm/exynos: Add missing clk_disable_unprepare in exynos_fimd_resume

Message ID 20240803063030.316390-2-cuigaosheng1@huawei.com
State New
Headers show
Series Add missing clk_disable_unprepare | expand

Commit Message

Gaosheng Cui Aug. 3, 2024, 6:30 a.m. UTC
Add the missing clk_disable_unprepare() before return in
exynos_fimd_resume().

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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;
 	}