Thread (8 messages) flat view 8 messages, 1 author, 2010-07-29
STALE5849d

[PATCH 2/7] ARM: LPC32xx: Remove un-needed wakeup code from IRQ ack handler

From: wellsk40 at gmail.com <hidden>
Date: 2010-07-29 16:04:09
Subsystem: arm port, arm/lpc32xx soc support, the rest · Maintainers: Russell King, Vladimir Zapolskiy, Piotr Wojtaszczyk, Linus Torvalds

From: Kevin Wells <redacted>

Code was intended for clearing platform wakeup events and just
added extra overhead in the ack handler.

Signed-off-by: Kevin Wells <redacted>
---
 arch/arm/mach-lpc32xx/irq.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-lpc32xx/irq.c b/arch/arm/mach-lpc32xx/irq.c
index bd0df26..d539d42 100644
--- a/arch/arm/mach-lpc32xx/irq.c
+++ b/arch/arm/mach-lpc32xx/irq.c
@@ -218,11 +218,6 @@ static void lpc32xx_ack_irq(unsigned int irq)
 	get_controller(irq, &ctrl, &mask);
 
 	__raw_writel(mask, LPC32XX_INTC_RAW_STAT(ctrl));
-
-	/* Also need to clear pending wake event */
-	if (lpc32xx_events[irq].mask != 0)
-		__raw_writel(lpc32xx_events[irq].mask,
-			lpc32xx_events[irq].event_group->rawstat_reg);
 }
 
 static void __lpc32xx_set_irq_type(unsigned int irq, int use_high_level,
-- 
1.7.1.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help