summaryrefslogtreecommitdiff
path: root/drivers/video/exynos
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-25 09:12:44 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-10-30 15:52:36 +0400
commit8900346d5ced18487588af20a8b6323858688d07 (patch)
tree928217603f5959b3c0efdff185c78aa819018748 /drivers/video/exynos
parentfa3fd89f9d214ce2c66db927be5ea00b35989df0 (diff)
downloadlinux-8900346d5ced18487588af20a8b6323858688d07.tar.xz
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 <sachin.kamat@linaro.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/exynos')
-rw-r--r--drivers/video/exynos/exynos_mipi_dsi_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c
index 9b321652b810..7eed957b6014 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;
}