OMAPDSS: flush write after irq enable
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 25 Feb 2016 23:05:47 +0000 (01:05 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 28 Feb 2016 01:55:13 +0000 (03:55 +0200)
don't want to miss it

drivers/video/omap2/dss/dispc.c

index 7846a33..c10fdcb 100644 (file)
@@ -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);
        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,
 }
 
 static int omap_dispc_register_isr_unlocked(omap_dispc_isr_t isr,