瀏覽代碼

OMAPDSS: apply: wait pending updates on manager disable

We should wait for any pending updates when an overlay manager is
about to be disabled, because the updates will never be finished if the
manager is disabled too early.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tomi Valkeinen 11 年之前
父節點
當前提交
22500c19e6
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/video/fbdev/omap2/dss/apply.c

+ 2 - 0
drivers/video/fbdev/omap2/dss/apply.c

@@ -1132,6 +1132,8 @@ static void dss_mgr_disable_compat(struct omap_overlay_manager *mgr)
 	if (!mp->enabled)
 	if (!mp->enabled)
 		goto out;
 		goto out;
 
 
+	wait_pending_extra_info_updates();
+
 	if (!mgr_manual_update(mgr))
 	if (!mgr_manual_update(mgr))
 		dispc_mgr_disable_sync(mgr->id);
 		dispc_mgr_disable_sync(mgr->id);