summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorMilo Kim <milo.kim@ti.com>2015-12-21 17:53:14 +0900
committerThomas Gleixner <tglx@linutronix.de>2015-12-29 11:58:54 +0100
commitfee48dfcd76b21b9a7117c3014e1345697ff08ec (patch)
tree192022a69c3ea1ab8ee8c0f62f3b4e9035dc5dbb /drivers/irqchip
parentd01f8633d52e4dac5ee598b87d49fd23346ccfd6 (diff)
downloadblackbird-op-linux-fee48dfcd76b21b9a7117c3014e1345697ff08ec.tar.gz
blackbird-op-linux-fee48dfcd76b21b9a7117c3014e1345697ff08ec.zip
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>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-omap-intc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c
index 8587d0f8d8c0..ed25175ae9fa 100644
--- a/drivers/irqchip/irq-omap-intc.c
+++ b/drivers/irqchip/irq-omap-intc.c
@@ -207,7 +207,6 @@ static int __init omap_alloc_gc_of(struct irq_domain *d, void __iomem *base)
ct = gc->chip_types;
ct->type = IRQ_TYPE_LEVEL_MASK;
- ct->handler = handle_level_irq;
ct->chip.irq_ack = omap_mask_ack_irq;
ct->chip.irq_mask = irq_gc_mask_disable_reg;
OpenPOWER on IntegriCloud