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.
Unified · Split
| @@ -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; |