From: Tomi Valkeinen Date: Mon, 7 Nov 2011 13:04:01 +0000 (+0200) Subject: OMAPDSS: APPLY: skip isr register and config for disabled displays X-Git-Tag: upstream/snapshot3+hdmi~7902^2~52^2~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04f6643a8657bd080344d2928dde917e0b1b3800;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git OMAPDSS: APPLY: skip isr register and config for disabled displays There's no need to register the vsync ISR and configure the hardware if the overlay manager is disabled, so this patch adds a check for disabled managers to the omap_dss_mgr_apply() function. Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c index 0da8081..7919ff3 100644 --- a/drivers/video/omap2/dss/apply.c +++ b/drivers/video/omap2/dss/apply.c @@ -629,7 +629,7 @@ int omap_dss_mgr_apply(struct omap_overlay_manager *mgr) } r = 0; - if (!mgr_manual_update(mgr)) { + if (mgr->enabled && !mgr_manual_update(mgr)) { if (!dss_cache.irq_enabled) { u32 mask;