]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAPDSS: DISPC: add dispc_mgr_get_sync_lost_irq()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Oct 2012 07:38:52 +0000 (10:38 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 18 Oct 2012 10:11:13 +0000 (13:11 +0300)
Add function that returns the sync lost irq mask for the given channel.

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

index bfa0d1d184ca92a4b428ab18f5a60bd1d1a9699a..c50270e0afb44186a820e8ee4de9b636f8f25ed2 100644 (file)
@@ -542,6 +542,11 @@ u32 dispc_mgr_get_framedone_irq(enum omap_channel channel)
        return mgr_desc[channel].framedone_irq;
 }
 
+u32 dispc_mgr_get_sync_lost_irq(enum omap_channel channel)
+{
+       return mgr_desc[channel].sync_lost_irq;
+}
+
 u32 dispc_wb_get_framedone_irq(void)
 {
        return DISPC_IRQ_FRAMEDONEWB;
index 19d56636f5c5350aad3af9b5a4b3f6c53a2a81d6..bf9b7a4c5065ca15285c400b2b37cbdae06e8785 100644 (file)
@@ -434,6 +434,7 @@ void dispc_ovl_set_channel_out(enum omap_plane plane,
 
 u32 dispc_mgr_get_vsync_irq(enum omap_channel channel);
 u32 dispc_mgr_get_framedone_irq(enum omap_channel channel);
+u32 dispc_mgr_get_sync_lost_irq(enum omap_channel channel);
 bool dispc_mgr_go_busy(enum omap_channel channel);
 void dispc_mgr_go(enum omap_channel channel);
 bool dispc_mgr_is_enabled(enum omap_channel channel);