From bf3d59ddd490a4953c439b15c9acf7e965376261 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Wed, 21 Dec 2011 02:01:36 +0200 Subject: [PATCH] staging: mrst: overlay: Flush posted writes to the OVADD registers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We generally want the overlay update to happen without much delay, so read the register back to make sure posted writes are flushed. Signed-off-by: Ville Syrjälä Signed-off-by: Artem Bityutskiy --- drivers/staging/mrst/drv/mdfld_overlay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/mrst/drv/mdfld_overlay.c b/drivers/staging/mrst/drv/mdfld_overlay.c index 9ed17a2..d54ae8c 100644 --- a/drivers/staging/mrst/drv/mdfld_overlay.c +++ b/drivers/staging/mrst/drv/mdfld_overlay.c @@ -244,6 +244,7 @@ static void write_ovadd(struct mfld_overlay *ovl) return; OVL_REG_WRITE(ovl, OVL_OVADD, ovadd); + OVL_REG_READ(ovl, OVL_OVADD); ospm_power_using_hw_end(OSPM_DISPLAY_ISLAND); -- 2.7.4