Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 968f8e97 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent a702c859
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
}