From cf6ac4ce1bdf2d0718d5f33d62f695e105706a5d Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Tue, 8 Oct 2013 16:23:24 -0700 Subject: video: Remove unnecessary semicolons These aren't necessary after switch, for, and if blocks. Signed-off-by: Joe Perches Signed-off-by: Tomi Valkeinen --- drivers/video/exynos/exynos_mipi_dsi_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/video/exynos') diff --git a/drivers/video/exynos/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c index 520fc9bd887b..9b321652b810 100644 --- a/drivers/video/exynos/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos/exynos_mipi_dsi_common.c @@ -667,7 +667,7 @@ int exynos_mipi_dsi_init_dsim(struct mipi_dsim_device *dsim) default: dev_info(dsim->dev, "data lane is invalid.\n"); return -EINVAL; - }; + } exynos_mipi_dsi_sw_reset(dsim); exynos_mipi_dsi_func_reset(dsim); -- cgit v1.2.3 From 8900346d5ced18487588af20a8b6323858688d07 Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Fri, 25 Oct 2013 10:42:44 +0530 Subject: 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 --- drivers/video/exynos/exynos_mipi_dsi_common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/video/exynos') 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; } -- cgit v1.2.3