summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSascha Hauer2009-04-21 12:39:59 +0200
committerSascha Hauer2009-05-05 09:37:01 +0200
commite2c97e7fdc9d71637840dea8f76eb3782c3b2023 (patch)
treead856a7d6f98eb9e3b26e78ddd61b710e9e9b653 /arch/arm
parentmx31: remove mx31moboard_defconfig (diff)
downloadkernel-qcow2-linux-e2c97e7fdc9d71637840dea8f76eb3782c3b2023.tar.gz
kernel-qcow2-linux-e2c97e7fdc9d71637840dea8f76eb3782c3b2023.tar.xz
kernel-qcow2-linux-e2c97e7fdc9d71637840dea8f76eb3782c3b2023.zip
MXC: remove BUG_ON in interrupt handler
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/plat-mxc/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/gpio.c b/arch/arm/plat-mxc/gpio.c
index c6483bad8a26..89e95798cc3b 100644
--- a/arch/arm/plat-mxc/gpio.c
+++ b/arch/arm/plat-mxc/gpio.c
@@ -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