drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.
authorJian Zhang <zhangjian210@huawei.com>
Tue, 12 Jul 2022 04:56:11 +0000 (13:56 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 12 Jul 2022 04:56:54 +0000 (13:56 +0900)
commit48b927770f8ad3f8cf4a024a552abf272af9f592
treed9ccfa88638904eff3af944018015cadba327b58
parentf4284724c2163efc941604990f4e2326f5c1093d
drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.

In exynos7_decon_resume, When it fails, we must use clk_disable_unprepare()
to free resource that have been used.

Fixes: 6f83d20838c09 ("drm/exynos: use DRM_DEV_ERROR to print out error
message")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jian Zhang <zhangjian210@huawei.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos7_drm_decon.c