OMAPDSS: DISPC: use get_framedone_irq in disable_digit_out
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 8 Nov 2012 08:05:31 +0000 (10:05 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 27 Nov 2012 10:27:02 +0000 (12:27 +0200)
commit15f5e7324a683ee1c2991a9953103dd9b3b6fa5e
treea80156cff4681799b3be14e46b11582a550ab5ff
parentcffa947d2769f3249beecb499b7d4083feeeb267
OMAPDSS: DISPC: use get_framedone_irq in disable_digit_out

dispc_mgr_disable_digit_out() needs to wait until the DIGIT output is
turned off. This is done with either VSYNC irq on OMAP2/3 and
FRAMEDONETV on OMAP4+. It currently uses a rather hacky way to decide
what irq to use.

This patch changes dispc_mgr_disable_digit_out to use
dispc_mgr_get_framedone_irq to find out if there's framedone irq on this
SoC, and if not, uses VSYNC.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c