diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-03-13 22:03:54 +0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-03-14 16:43:33 +0400 |
commit | e9df9e221665d40928e25a02c2700ac12eda7270 (patch) | |
tree | 02f1f48fc7a236291837007cf97cc99835beb4ae /arch | |
parent | 649ff46e5e29868e915354ed1e9bebcf0faec3ae (diff) | |
download | linux-e9df9e221665d40928e25a02c2700ac12eda7270.tar.xz |
irqchip: sun4i: Don't ack IRQs > 0, fix acking of IRQ 0
All IRQs except for IRQ 0 seem to not need acking, so drop acking for them.
The ENMI needs to have the ack done *after* clearing the interrupt source,
otherwise we will get a spurious interrupt for each real interrupt.
So use the new IRQCHIP_EOI_THREADED flag for this in combination with
handle_fasteoi_irq. This uses a separate irq_chip struct for IRQ 0,
since we only want this behavior for IRQ 0.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-sunxi@googlegroups.com
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: http://lkml.kernel.org/r/1394733834-26839-5-git-send-email-hdegoede@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions