projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f804df
)
ARM: mxs: acknowledge gpio irq
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Tue, 25 Jan 2011 15:54:22 +0000
(16:54 +0100)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Wed, 26 Jan 2011 07:27:56 +0000
(08:27 +0100)
This fixes a machine hang after a gpio irq triggered.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mxs/gpio.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-mxs/gpio.c
b/arch/arm/mach-mxs/gpio.c
index d7ad7a61366d80b33f9058bbf8d8c21f98789619..cb0c0e83a527a8d5367e0f2b0ca376d5f86a674f 100644
(file)
--- a/
arch/arm/mach-mxs/gpio.c
+++ b/
arch/arm/mach-mxs/gpio.c
@@
-139,6
+139,8
@@
static void mxs_gpio_irq_handler(u32 irq, struct irq_desc *desc)
struct mxs_gpio_port *port = (struct mxs_gpio_port *)get_irq_data(irq);
u32 gpio_irq_no_base = port->virtual_irq_start;
+ desc->irq_data.chip->irq_ack(&desc->irq_data);
+
irq_stat = __raw_readl(port->base + PINCTRL_IRQSTAT(port->id)) &
__raw_readl(port->base + PINCTRL_IRQEN(port->id));