Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc372d84 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 33ca237f
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -410,9 +410,6 @@ static bool extra_info_update_ongoing(void)
		ovl = omap_dss_get_overlay(i);
		ovl = omap_dss_get_overlay(i);
		op = get_ovl_priv(ovl);
		op = get_ovl_priv(ovl);


		if (!op->enabled)
			continue;

		mp = get_mgr_priv(ovl->manager);
		mp = get_mgr_priv(ovl->manager);


		if (!mp->enabled)
		if (!mp->enabled)