Skip to content

Commit

Permalink
MXC: remove BUG_ON in interrupt handler
Browse files Browse the repository at this point in the history
On i.MX31 I sometimes get spurious interrupts. There is no need
to crash the whole system when this happens. Instead, silently
ignore it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Sascha Hauer committed May 5, 2009
1 parent f1fd4c6 commit e2c97e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-mxc/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static void mx3_gpio_irq_handler(u32 irq, struct irq_desc *desc)

irq_stat = __raw_readl(port->base + GPIO_ISR) &
__raw_readl(port->base + GPIO_IMR);
BUG_ON(!irq_stat);

mxc_gpio_irq_handler(port, irq_stat);
}
#endif
Expand Down

0 comments on commit e2c97e7

Please sign in to comment.