Skip to content

Commit

Permalink
OMAP: DSS2: Taal: Fix DSI bus locking problem
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ville Syrjälä authored and Tomi Valkeinen committed May 18, 2010
1 parent a3201a0 commit 6df3727
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/video/omap2/displays/panel-taal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6df3727

Please sign in to comment.