From 3474e9495a1769645abe78717e01f087640cc328 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 26 Feb 2016 01:05:47 +0200 Subject: [PATCH] OMAPDSS: flush write after irq enable don't want to miss it --- drivers/video/omap2/dss/dispc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c index 7846a339cc4d..c10fdcbb2c6a 100644 --- a/drivers/video/omap2/dss/dispc.c +++ b/drivers/video/omap2/dss/dispc.c @@ -2994,6 +2994,8 @@ static void _omap_dispc_set_irqs(void) dispc_write_reg(DISPC_IRQSTATUS, (mask ^ old_mask) & mask); dispc_write_reg(DISPC_IRQENABLE, mask); + /* flush posted write */ + dispc_read_reg(DISPC_IRQENABLE); } static int omap_dispc_register_isr_unlocked(omap_dispc_isr_t isr, -- 2.39.2