]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
OMAPDSS: APPLY: fix extra_info_update_ongoing
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 25 Nov 2011 15:22:53 +0000 (17:22 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:55 +0000 (08:54 +0200)
extra_info_update_ongoing() skipped checks for overlays that were marked
as disabled. This doesn't work, as the enable status of an overlay is in
the extra_info group, and thus extra_info_update_ongoing() reports false
when we are disabling an overlay. This causes
wait_pending_extra_info_updates() to not wait for the ongoing overlay
disable.

This patch changes extra_info_update_ongoing() to check the state of
overlays marked as disabled.

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

index 614592c7a75c858c1e6444a994d509d14865bf8f..5d205ada30de660cba243d4a37edf91a39b46aa4 100644 (file)
@@ -410,9 +410,6 @@ static bool extra_info_update_ongoing(void)
                ovl = omap_dss_get_overlay(i);
                op = get_ovl_priv(ovl);
 
-               if (!op->enabled)
-                       continue;
-
                mp = get_mgr_priv(ovl->manager);
 
                if (!mp->enabled)