History

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.

Milo Kim committed 10 years ago

Commit fee48df1 parent d01f8631 file · +0 −1Browse files

Unified · Split

drivers/irqchip/irq-omap-intc.c+0−1
@@ -207,7 +207,6 @@ static int __init omap_alloc_gc_of(struct irq_domain *d, void __iomem *base) · 206 unmodified lines
207 ct = gc->chip_types;207 ct = gc->chip_types;
208 208
209 ct->type = IRQ_TYPE_LEVEL_MASK;209 ct->type = IRQ_TYPE_LEVEL_MASK;
210 ct->handler = handle_level_irq;
211 210
212 ct->chip.irq_ack = omap_mask_ack_irq;211 ct->chip.irq_ack = omap_mask_ack_irq;
213 ct->chip.irq_mask = irq_gc_mask_disable_reg;212 ct->chip.irq_mask = irq_gc_mask_disable_reg;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t