Skip to content

Commit

Permalink
OMAP: DSS2: Taal: Fix ESD check
Browse files Browse the repository at this point in the history
Using taal_enable_te() when DSI bus was locked caused a deadlock.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
  • Loading branch information
Tomi Valkeinen committed Mar 1, 2010
1 parent a4c1a14 commit 1189b7f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions drivers/video/omap2/displays/panel-taal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,11 @@ static void taal_esd_work(struct work_struct *work)
}
/* Self-diagnostics result is also shown on TE GPIO line. We need
* to re-enable TE after self diagnostics */
if (td->use_ext_te && td->te_enabled)
taal_enable_te(dssdev, true);
if (td->use_ext_te && td->te_enabled) {
r = taal_dcs_write_1(DCS_TEAR_ON, 0);
if (r)
goto err;
}

dsi_bus_unlock();

Expand Down

0 comments on commit 1189b7f

Please sign in to comment.