Skip to content

Commit

Permalink
irqchip/ingenic: Leave parent IRQ unmasked on suspend
Browse files Browse the repository at this point in the history
All the wakeup sources we possibly want will go through the interrupt
controller, so the parent IRQ must not be masked during suspend, or
there won't be any way to wake up the system.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200819180602.136969-1-paul@crapouillou.net
  • Loading branch information
Paul Cercueil authored and Marc Zyngier committed Aug 25, 2020
1 parent e579076 commit 821fc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/irqchip/irq-ingenic.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static int __init ingenic_intc_of_init(struct device_node *node,
irq_reg_writel(gc, IRQ_MSK(32), JZ_REG_INTC_SET_MASK);
}

if (request_irq(parent_irq, intc_cascade, 0,
if (request_irq(parent_irq, intc_cascade, IRQF_NO_SUSPEND,
"SoC intc cascade interrupt", NULL))
pr_err("Failed to register SoC intc cascade interrupt\n");
return 0;
Expand Down

0 comments on commit 821fc9e

Please sign in to comment.