diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2014-11-11 14:33:36 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-11-11 23:34:48 +0100 |
commit | 45977fe35bf014f5cf9552717e1320783398ae0d (patch) | |
tree | a956f6e684f88bcfa61cbb4f2aed922accba764d /drivers/irqchip/irq-bcm7120-l2.c | |
parent | irqchip: armada-370-xp: Fix MPIC interrupt handling (diff) | |
download | linux-45977fe35bf014f5cf9552717e1320783398ae0d.tar.xz linux-45977fe35bf014f5cf9552717e1320783398ae0d.zip |
irqchip: atmel-aic: Fix irqdomain initialization
First of all IRQCHIP_SKIP_SET_WAKE is not a valid irq_gc_flags and thus
should not be passed as the last argument of
irq_alloc_domain_generic_chips.
Then pass the correct handler (handle_fasteoi_irq) to
irq_alloc_domain_generic_chips instead of manually re-setting it in the
initialization loop.
And eventually initialize default irq flags to the pseudo standard:
IRQ_REQUEST | IRQ_PROBE | IRQ_AUTOEN.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Kevin Hilman <khilman@linaro.org>
Fixes: b1479ebb77200 ("irqchip: atmel-aic: Add atmel AIC/AIC5 drivers")
Cc: <stable@vger.kernel.org> # v3.17+
Link: https://lkml.kernel.org/r/1415712816-9202-1-git-send-email-boris.brezillon@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip/irq-bcm7120-l2.c')
0 files changed, 0 insertions, 0 deletions