Skip to content

Commit 821fc9e

Browse files
pcercueiMarc Zyngier
authored andcommitted
irqchip/ingenic: Leave parent IRQ unmasked on suspend
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 <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e579076 commit 821fc9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-ingenic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static int __init ingenic_intc_of_init(struct device_node *node,
125125
irq_reg_writel(gc, IRQ_MSK(32), JZ_REG_INTC_SET_MASK);
126126
}
127127

128-
if (request_irq(parent_irq, intc_cascade, 0,
128+
if (request_irq(parent_irq, intc_cascade, IRQF_NO_SUSPEND,
129129
"SoC intc cascade interrupt", NULL))
130130
pr_err("Failed to register SoC intc cascade interrupt\n");
131131
return 0;

0 commit comments

Comments
 (0)