提交 b9cb0984 编写于 作者: T Tomi Valkeinen

OMAP: DSS2: fix omap_dispc_register_isr() fail path

Fix handling of error in omap_dispc_register_isr() in case there are no
free isr slots available.
Reported-by: NBen Tucker <btucker@mpcdata.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 0cf35df3
......@@ -2831,6 +2831,9 @@ int omap_dispc_register_isr(omap_dispc_isr_t isr, void *arg, u32 mask)
break;
}
if (ret)
goto err;
_omap_dispc_set_irqs();
spin_unlock_irqrestore(&dispc.irq_lock, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册