From: Tomi Valkeinen Date: Wed, 12 Oct 2011 07:13:14 +0000 (+0300) Subject: OMAPDSS: DSI: flush posted write in send_bta X-Git-Tag: v3.3-rc1~59^2~2^2~105 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=968f8e97a3291a3c7c9a2dee1a85a092de638f65;p=karo-tx-linux.git 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 --- 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; }