aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/lubbock.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-01-01 02:29:22 -0500
committerEric Miao <eric.y.miao@gmail.com>2010-03-01 18:40:45 -0500
commit669cb51c6abf77e10cbeb6f483c96abc492206ac (patch)
tree6f548cfcd5ba3794ea67ee94d6da18324c7b99c5 /arch/arm/mach-pxa/lubbock.c
parent2a2d10f386c1bacabe1a530c06dc8488eac419e5 (diff)
[ARM] pxa: use chip->ack() instead of accessing GEDR directly
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/lubbock.c')
-rw-r--r--arch/arm/mach-pxa/lubbock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c
index 98ee7e590299..d9982b16f8c0 100644
--- a/arch/arm/mach-pxa/lubbock.c
+++ b/arch/arm/mach-pxa/lubbock.c
@@ -158,7 +158,7 @@ static void lubbock_irq_handler(unsigned int irq, struct irq_desc *desc)
158{ 158{
159 unsigned long pending = LUB_IRQ_SET_CLR & lubbock_irq_enabled; 159 unsigned long pending = LUB_IRQ_SET_CLR & lubbock_irq_enabled;
160 do { 160 do {
161 GEDR(0) = GPIO_bit(0); /* clear our parent irq */ 161 desc->chip->ack(irq); /* clear our parent irq */
162 if (likely(pending)) { 162 if (likely(pending)) {
163 irq = LUBBOCK_IRQ(0) + __ffs(pending); 163 irq = LUBBOCK_IRQ(0) + __ffs(pending);
164 generic_handle_irq(irq); 164 generic_handle_irq(irq);