OSDN Git Service

drm/omap: remove read_irqenable()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 20 Feb 2017 11:18:38 +0000 (13:18 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 07:57:13 +0000 (10:57 +0300)
commit2e953d83a6797e4f1c6fe48c08fc9a8fcb50db78
tree408ac35ef726950b7de27299c1dd325b572c0afd
parent49a3057a5a2fa06264b0756cf417f75b56b7063b
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>
drivers/gpu/drm/omapdrm/dss/dispc.c
drivers/gpu/drm/omapdrm/dss/omapdss.h
drivers/gpu/drm/omapdrm/omap_irq.c