Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8900346d authored by Sachin Kamat's avatar Sachin Kamat Committed by Tomi Valkeinen
Browse files

video: exynos_mipi_dsi: Unlock the mutex before returning



Mutex should be unlocked before returning. Fixes mutex lock-unlock
imbalance issue.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent fa3fd89f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}