mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
irqchip: atmel-aic5: Convert to handle_domain_irq
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Acked-by: Boris Brezillon <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Jason Cooper <[email protected]>
This commit is contained in:
parent
841f2aa462
commit
31b7b6a86e
1 changed files with 1 additions and 3 deletions
|
|
@ -78,12 +78,10 @@ aic5_handle(struct pt_regs *regs)
|
|||
irqnr = irq_reg_readl(gc->reg_base + AT91_AIC5_IVR);
|
||||
irqstat = irq_reg_readl(gc->reg_base + AT91_AIC5_ISR);
|
||||
|
||||
irqnr = irq_find_mapping(aic5_domain, irqnr);
|
||||
|
||||
if (!irqstat)
|
||||
irq_reg_writel(0, gc->reg_base + AT91_AIC5_EOICR);
|
||||
else
|
||||
handle_IRQ(irqnr, regs);
|
||||
handle_domain_irq(aic5_domain, irqnr, regs);
|
||||
}
|
||||
|
||||
static void aic5_mask(struct irq_data *d)
|
||||
|
|
|
|||
Loading…
Reference in a new issue