drm/exynos: g2d: fix missing unlock on error in g2d_runqueue_worker()
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 15 Jun 2021 17:21:53 +0000 (17:21 +0000)
committerInki Dae <inki.dae@samsung.com>
Sat, 21 Aug 2021 16:56:35 +0000 (01:56 +0900)
commitb74a29fac6de62f39b594e8f545b3a26db7edb5e
tree50c12947f14855029ffd23dfde03351e498da147
parent397ab98e2d69cede84444a28eab77a171983d14e
drm/exynos: g2d: fix missing unlock on error in g2d_runqueue_worker()

Add the missing unlock before return from function g2d_runqueue_worker()
in the error handling case.

Fixes: 445d3bed75de ("drm/exynos: use pm_runtime_resume_and_get()")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_g2d.c