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

Commit 6df37271 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Tomi Valkeinen
Browse files

OMAP: DSS2: Taal: Fix DSI bus locking problem



If omapdss_dsi_display_enable() failed the DSI bus was left locked. Also
if the operation failed later omapdss_dsi_display_disable() would get
called without holding the bus lock.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@nokia.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
parent a3201a0e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -702,10 +702,9 @@ static int taal_power_on(struct omap_dss_device *dssdev)

	return 0;
err:
	dsi_bus_unlock();

	omapdss_dsi_display_disable(dssdev);
err0:
	dsi_bus_unlock();
	if (dssdev->platform_disable)
		dssdev->platform_disable(dssdev);