Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf86bfdd authored by Marc Zyngier's avatar Marc Zyngier Committed by Jason Cooper
Browse files

irqchip: s3c24xx: Convert to handle_domain_irq



Use the new handle_domain_irq method to handle interrupts.

Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1409047421-27649-12-git-send-email-marc.zyngier@arm.com


Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent f4bc9288
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -339,7 +339,6 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc,
{
	int pnd;
	int offset;
	int irq;

	pnd = __raw_readl(intc->reg_intpnd);
	if (!pnd)
@@ -365,8 +364,7 @@ static inline int s3c24xx_handle_intc(struct s3c_irq_intc *intc,
	if (!(pnd & (1 << offset)))
		offset =  __ffs(pnd);

	irq = irq_find_mapping(intc->domain, intc_offset + offset);
	handle_IRQ(irq, regs);
	handle_domain_irq(intc->domain, intc_offset + offset, regs);
	return true;
}