From 6a2e9c1a254d80154ea58ff65403fa1354b54a4b Mon Sep 17 00:00:00 2001 From: Sunyoung Kang Date: Mon, 16 Jul 2018 16:30:28 +0900 Subject: [PATCH] [COMMON] media: mfc: add lost spin_unlock_irqrestore Change-Id: Ia4f50e329b2341ae8a3d33ecf7300cf62d5c6b82 Signed-off-by: Sunyoung Kang --- drivers/media/platform/exynos/mfc/mfc_nal_q.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.20.1