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: Ville Syrjälä <ville.syrjala@nokia.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
This commit is contained in:
parent
a3201a0eae
commit
6df37271f8
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue