Commit 6b12ec17 authored by Vineet Gupta's avatar Vineet Gupta

ARCv2: intc: IDU: Fix potential race in installing a chained IRQ handler

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 83ce3e6f
......@@ -347,8 +347,7 @@ idu_of_init(struct device_node *intc, struct device_node *parent)
if (!i)
idu_first_irq = irq;
irq_set_handler_data(irq, domain);
irq_set_chained_handler(irq, idu_cascade_isr);
irq_set_chained_handler_and_data(irq, idu_cascade_isr, domain);
}
__mcip_cmd(CMD_IDU_ENABLE, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment