From: Sunyoung Kang Date: Mon, 16 Jul 2018 07:30:28 +0000 (+0900) Subject: [COMMON] media: mfc: add lost spin_unlock_irqrestore X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a2e9c1a254d80154ea58ff65403fa1354b54a4b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] media: mfc: add lost spin_unlock_irqrestore Change-Id: Ia4f50e329b2341ae8a3d33ecf7300cf62d5c6b82 Signed-off-by: Sunyoung Kang --- diff --git a/drivers/media/platform/exynos/mfc/mfc_nal_q.c b/drivers/media/platform/exynos/mfc/mfc_nal_q.c index 4fba0451d240..3afcfb2870d5 100644 --- a/drivers/media/platform/exynos/mfc/mfc_nal_q.c +++ b/drivers/media/platform/exynos/mfc/mfc_nal_q.c @@ -153,6 +153,7 @@ void mfc_nal_q_clock_off(struct mfc_dev *dev, nal_queue_handle *nal_q_handle) mfc_debug(2, "[NALQ] nal_q_clk_cnt = %d\n", nal_q_handle->nal_q_clk_cnt); if (!nal_q_handle->nal_q_clk_cnt) { + spin_unlock_irqrestore(&nal_q_handle->lock, flags); mfc_err_dev("[NALQ] nal_q_clk_cnt is already zero\n"); return; }