diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-06-16 14:34:06 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-07-01 12:07:13 +0300 |
commit | 15ffa1dac53820bb712851d329ba465f74b00f76 (patch) | |
tree | 7f4f10e60922b9a1a7c114600b04eba17f89a792 /drivers/video/omap2/displays | |
parent | 3c07cae2cccc4e40ff66521701a3c8eeda8726e1 (diff) | |
download | linux-stable-15ffa1dac53820bb712851d329ba465f74b00f76.tar.gz linux-stable-15ffa1dac53820bb712851d329ba465f74b00f76.tar.bz2 linux-stable-15ffa1dac53820bb712851d329ba465f74b00f76.zip |
OMAP: DSS2: DSI: sync when disabling a display
When the panel driver calls omapdss_dsi_display_disable() it is possible
that there are still some unsent packets in the TX fifo.
Add dsi_sync_vc() calls in the beginning of
omapdss_dsi_display_disable() to make sure the TX fifos are empty.
This allows us to remove the msleep(10) hack from panel-taal.c
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays')
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index 4cb0449d5098..4e888ac09b3f 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c @@ -1247,11 +1247,8 @@ static void taal_power_off(struct omap_dss_device *dssdev) int r; r = taal_dcs_write_0(td, DCS_DISPLAY_OFF); - if (!r) { + if (!r) r = taal_sleep_in(td); - /* HACK: wait a bit so that the message goes through */ - msleep(10); - } if (r) { dev_err(&dssdev->dev, |