OMAP: DSS2: Taal: Fix ESD check
Using taal_enable_te() when DSI bus was locked caused a deadlock. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
This commit is contained in:
parent
a4c1a148a0
commit
1189b7ff64
@ -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
|
/* Self-diagnostics result is also shown on TE GPIO line. We need
|
||||||
* to re-enable TE after self diagnostics */
|
* to re-enable TE after self diagnostics */
|
||||||
if (td->use_ext_te && td->te_enabled)
|
if (td->use_ext_te && td->te_enabled) {
|
||||||
taal_enable_te(dssdev, true);
|
r = taal_dcs_write_1(DCS_TEAR_ON, 0);
|
||||||
|
if (r)
|
||||||
|
goto err;
|
||||||
|
}
|
||||||
|
|
||||||
dsi_bus_unlock();
|
dsi_bus_unlock();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user