Skip to content

Commit b6392bd

Browse files
jkrzyszttmlind
authored andcommitted
ARM: OMAP1: Amstrad Delta: Fix wrong IRQ base in FIQ handler
Commit 384ebe1, "gpio/omap: Add DT support to GPIO driver", introduced dynamic IRQ numbering of OMAP GPIO interrupts, breaking all IH_GPIO_BASE based IRQ number calculations. This issue was corrected in the OMAP GPIO driver and the related header file with commit 25db711, "gpio/omap: Fix IRQ handling for SPARSE_IRQ". However, the Amstrad Delta FIQ handler, which replaces the gpio-omap driver in serving GPIO interrupts on this board, still uses that outdated method. Fix it. Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 69964ea commit b6392bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm/mach-omap1/ams-delta-fiq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static irqreturn_t deferred_fiq(int irq, void *dev_id)
4848
struct irq_chip *irq_chip = NULL;
4949
int gpio, irq_num, fiq_count;
5050

51-
irq_desc = irq_to_desc(IH_GPIO_BASE);
51+
irq_desc = irq_to_desc(gpio_to_irq(AMS_DELTA_GPIO_PIN_KEYBRD_CLK));
5252
if (irq_desc)
5353
irq_chip = irq_desc->irq_data.chip;
5454

0 commit comments

Comments
 (0)