summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-10-12 10:13:14 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-12-02 08:54:14 +0200
commit968f8e97a3291a3c7c9a2dee1a85a092de638f65 (patch)
treef246aaafaaa85870edf60302dc5a07342c494932 /drivers/video/omap2
parenta702c85906390282e2aabb6cb30e448e23ee1599 (diff)
downloadblackbird-op-linux-968f8e97a3291a3c7c9a2dee1a85a092de638f65.tar.gz
blackbird-op-linux-968f8e97a3291a3c7c9a2dee1a85a092de638f65.zip
OMAPDSS: DSI: flush posted write in send_bta
Flush posted write after setting the bit to send the BTA to ensure the BTA is sent right away, as the code in dsi_vc_send_bta_sync() waits for an interrupt caused indirectly by sending the BTA. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r--drivers/video/omap2/dss/dsi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 1331f92f11c2..4b1c07443753 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -2913,6 +2913,9 @@ static int dsi_vc_send_bta(struct platform_device *dsidev, int channel)
REG_FLD_MOD(dsidev, DSI_VC_CTRL(channel), 1, 6, 6); /* BTA_EN */
+ /* flush posted write */
+ dsi_read_reg(dsidev, DSI_VC_CTRL(channel));
+
return 0;
}
OpenPOWER on IntegriCloud