diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-01-01 02:29:22 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-03-01 18:40:45 -0500 |
commit | 669cb51c6abf77e10cbeb6f483c96abc492206ac (patch) | |
tree | 6f548cfcd5ba3794ea67ee94d6da18324c7b99c5 /arch/arm/mach-pxa/pcm990-baseboard.c | |
parent | 2a2d10f386c1bacabe1a530c06dc8488eac419e5 (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/pcm990-baseboard.c')
-rw-r--r-- | arch/arm/mach-pxa/pcm990-baseboard.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/pcm990-baseboard.c b/arch/arm/mach-pxa/pcm990-baseboard.c index d5255ae74fe3..e74bdfc2551d 100644 --- a/arch/arm/mach-pxa/pcm990-baseboard.c +++ b/arch/arm/mach-pxa/pcm990-baseboard.c | |||
@@ -259,8 +259,7 @@ static void pcm990_irq_handler(unsigned int irq, struct irq_desc *desc) | |||
259 | unsigned long pending = (~PCM990_INTSETCLR) & pcm990_irq_enabled; | 259 | unsigned long pending = (~PCM990_INTSETCLR) & pcm990_irq_enabled; |
260 | 260 | ||
261 | do { | 261 | do { |
262 | GEDR(PCM990_CTRL_INT_IRQ_GPIO) = | 262 | desc->chip->ack(irq); /* clear our parent IRQ */ |
263 | GPIO_bit(PCM990_CTRL_INT_IRQ_GPIO); | ||
264 | if (likely(pending)) { | 263 | if (likely(pending)) { |
265 | irq = PCM027_IRQ(0) + __ffs(pending); | 264 | irq = PCM027_IRQ(0) + __ffs(pending); |
266 | generic_handle_irq(irq); | 265 | generic_handle_irq(irq); |