From: Sachin Kamat Date: Fri, 25 Oct 2013 05:12:44 +0000 (+0530) Subject: video: exynos_mipi_dsi: Unlock the mutex before returning X-Git-Tag: v4.14-rc1~8598^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8900346d5ced18487588af20a8b6323858688d07;p=platform%2Fkernel%2Flinux-rpi.git video: exynos_mipi_dsi: Unlock the mutex before returning Mutex should be unlocked before returning. Fixes mutex lock-unlock imbalance issue. Signed-off-by: Sachin Kamat Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c index 9b32165..7eed957 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos/exynos_mipi_dsi_common.c @@ -376,6 +376,7 @@ int exynos_mipi_dsi_rd_data(struct mipi_dsim_device *dsim, unsigned int data_id, "data id %x is not supported current DSI spec.\n", data_id); + mutex_unlock(&dsim->lock); return -EINVAL; }