projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1fd4c6
)
MXC: remove BUG_ON in interrupt handler
author
Sascha Hauer
<s.hauer@pengutronix.de>
Tue, 21 Apr 2009 10:39:59 +0000
(12:39 +0200)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Tue, 5 May 2009 07:37:01 +0000
(09:37 +0200)
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>
arch/arm/plat-mxc/gpio.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/plat-mxc/gpio.c
b/arch/arm/plat-mxc/gpio.c
index c6483bad8a2652c3fbfc098ced8ba809e7d4ccba..89e95798cc3ba096aa09f1bf0e0a7bf8b42ff82e 100644
(file)
--- 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