projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a702c85
)
OMAPDSS: DSI: flush posted write in send_bta
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Wed, 12 Oct 2011 07:13:14 +0000
(10:13 +0300)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:14 +0000
(08:54 +0200)
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>
drivers/video/omap2/dss/dsi.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap2/dss/dsi.c
b/drivers/video/omap2/dss/dsi.c
index 1331f92f11c26611f2b8b095f34d1b8b637beb57..4b1c07443753b2e3c3535c7966de9c7adda9807f 100644
(file)
--- 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;
}