aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_irq.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-02-20 06:18:38 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-06-02 03:57:13 -0400
commit2e953d83a6797e4f1c6fe48c08fc9a8fcb50db78 (patch)
tree408ac35ef726950b7de27299c1dd325b572c0afd /drivers/gpu/drm/omapdrm/omap_irq.c
parent49a3057a5a2fa06264b0756cf417f75b56b7063b (diff)
drm/omap: remove read_irqenable()
We only use read_irqenable() to flush posted write. Instead of having a separate function for this, do the flush implicitly in write_irqenable(). Thus we can remove read_irqenable(). Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_irq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c
index 115104cdcc59..7afe4b90befd 100644
--- a/drivers/gpu/drm/omapdrm/omap_irq.c
+++ b/drivers/gpu/drm/omapdrm/omap_irq.c
@@ -41,7 +41,6 @@ static void omap_irq_update(struct drm_device *dev)
41 DBG("irqmask=%08x", irqmask); 41 DBG("irqmask=%08x", irqmask);
42 42
43 priv->dispc_ops->write_irqenable(irqmask); 43 priv->dispc_ops->write_irqenable(irqmask);
44 priv->dispc_ops->read_irqenable(); /* flush posted write */
45} 44}
46 45
47static void omap_irq_wait_handler(struct omap_irq_wait *wait) 46static void omap_irq_wait_handler(struct omap_irq_wait *wait)