提交 04f6643a 编写于 作者: T Tomi Valkeinen

OMAPDSS: APPLY: skip isr register and config for disabled displays

There's no need to register the vsync ISR and configure the hardware if
the overlay manager is disabled, so this patch adds a check for disabled
managers to the omap_dss_mgr_apply() function.
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 18135ead
...@@ -629,7 +629,7 @@ int omap_dss_mgr_apply(struct omap_overlay_manager *mgr) ...@@ -629,7 +629,7 @@ int omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
} }
r = 0; r = 0;
if (!mgr_manual_update(mgr)) { if (mgr->enabled && !mgr_manual_update(mgr)) {
if (!dss_cache.irq_enabled) { if (!dss_cache.irq_enabled) {
u32 mask; u32 mask;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册