summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1/ams-delta-fiq.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>2019-08-11 10:48:02 +0200
committerTony Lindgren <tony@atomide.com>2019-08-13 03:25:49 -0700
commitfa8397e45c64e60c80373bc19ee56e42a6bed9b6 (patch)
tree4ea707b6ffb429fc3090902dba919a70aebf00e1 /arch/arm/mach-omap1/ams-delta-fiq.c
parent07f9a8be66a9bd86f9eaedf8f8aeb416195adab8 (diff)
downloadlinux-rt-fa8397e45c64e60c80373bc19ee56e42a6bed9b6.tar.gz
ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack
Non-serio path of Amstrad Delta FIQ deferred handler depended on irq_ack() method provided by OMAP GPIO driver. That method has been removed by commit 693de831c6e5 ("gpio: omap: remove irq_ack method"). Remove useless code from the deferred handler and reimplement the missing operation inside the base FIQ handler. Should another dependency - irq_unmask() - be ever removed from the OMAP GPIO driver, WARN once if missing. Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/ams-delta-fiq.c')
-rw-r--r--arch/arm/mach-omap1/ams-delta-fiq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/ams-delta-fiq.c b/arch/arm/mach-omap1/ams-delta-fiq.c
index 51212133ce06..dedaf715f47c 100644
--- a/arch/arm/mach-omap1/ams-delta-fiq.c
+++ b/arch/arm/mach-omap1/ams-delta-fiq.c
@@ -72,9 +72,7 @@ static irqreturn_t deferred_fiq(int irq, void *dev_id)
* interrupts default to since commit 80ac93c27441
* requires interrupt already acked and unmasked.
*/
- if (irq_chip->irq_ack)
- irq_chip->irq_ack(d);
- if (irq_chip->irq_unmask)
+ if (!WARN_ON_ONCE(!irq_chip->irq_unmask))
irq_chip->irq_unmask(d);
}
for (; irq_counter[gpio] < fiq_count; irq_counter[gpio]++)