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)
commitcc372d84e231ea9f574ef5de9a7ab39dee5a021d
tree7fa18bfa625f29778a1eee6697c243e0c7ea3bf6
parent33ca237f80555cde41c17682991a2b58d2f14da5
OMAPDSS: APPLY: fix extra_info_update_ongoing

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