drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.
stable inclusion from stable-v5.10.137 commit 5713b0be6dd94210413404dd8a71a40bb83654b1 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5713b0be6dd94210413404dd8a71a40bb83654b1 -------------------------------- [ Upstream commit 48b92777 ] In exynos7_decon_resume, When it fails, we must use clk_disable_unprepare() to free resource that have been used. Fixes: 6f83d208 ("drm/exynos: use DRM_DEV_ERROR to print out error message") Reported-by: NHulk Robot <hulkci@huawei.com> Signed-off-by: NJian Zhang <zhangjian210@huawei.com> Signed-off-by: NInki Dae <inki.dae@samsung.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com>
Showing
想要评论请 注册 或 登录