Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/omap-intc: Remove duplicate setup for IRQ chip type handler

Some OMAP interrupt controllers use generic level detection, so
handle_level_irq() is used as the chip type handler.
Allocated IRQ chip type handler doesn't need to set it again because
irq_alloc_domain_generic_chips() has already registered it.

Tested with BeagleBoneBlack Rev C.

Signed-off-by: Milo Kim <milo.kim@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-omap@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/1450687994-12580-1-git-send-email-milo.kim@ti.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Milo Kim and committed by
Thomas Gleixner
fee48dfc d01f8633

-1
-1
drivers/irqchip/irq-omap-intc.c
··· 207 207 ct = gc->chip_types; 208 208 209 209 ct->type = IRQ_TYPE_LEVEL_MASK; 210 - ct->handler = handle_level_irq; 211 210 212 211 ct->chip.irq_ack = omap_mask_ack_irq; 213 212 ct->chip.irq_mask = irq_gc_mask_disable_reg;