Skip to content

Commit

Permalink
OMAPDSS: APPLY: fix extra_info_update_ongoing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent 33ca237 commit cc372d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cc372d8

Please sign in to comment.