提交 87a705dd 编写于 作者: F Francesco VIRLINZI 提交者: Paul Mundt

sh: intc: Fixed resume from hibernation

This patch fixes the resume from hibernation
in the intc sysdev device when it manages 'redirect' irq
Signed-off-by: NFrancesco Virlinzi <francesco.virlinzi@st.com>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 e717cc6c
......@@ -806,6 +806,8 @@ static int intc_suspend(struct sys_device *dev, pm_message_t state)
if (d->state.event != PM_EVENT_FREEZE)
break;
for_each_irq_desc(irq, desc) {
if (desc->handle_irq == intc_redirect_irq)
continue
if (desc->chip != &d->chip)
continue;
if (desc->status & IRQ_DISABLED)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册