diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-03-01 06:52:10 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-03-01 07:22:57 -0500 |
commit | 1189b7ff6485ebf1039440c34150360fab7cfb01 (patch) | |
tree | 36bfaf20278ad00f6a76c2afe9f82c9040de4abe /drivers/video | |
parent | a4c1a148a0c4c690b95938e9577be9e461bc5e5a (diff) |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index a722733106b1..2b5777621779 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c | |||
@@ -1055,8 +1055,11 @@ static void taal_esd_work(struct work_struct *work) | |||
1055 | } | 1055 | } |
1056 | /* Self-diagnostics result is also shown on TE GPIO line. We need | 1056 | /* Self-diagnostics result is also shown on TE GPIO line. We need |
1057 | * to re-enable TE after self diagnostics */ | 1057 | * to re-enable TE after self diagnostics */ |
1058 | if (td->use_ext_te && td->te_enabled) | 1058 | if (td->use_ext_te && td->te_enabled) { |
1059 | taal_enable_te(dssdev, true); | 1059 | r = taal_dcs_write_1(DCS_TEAR_ON, 0); |
1060 | if (r) | ||
1061 | goto err; | ||
1062 | } | ||
1060 | 1063 | ||
1061 | dsi_bus_unlock(); | 1064 | dsi_bus_unlock(); |
1062 | 1065 | ||