[ARM] 4270/2: mach-s3c2443/irq.c off by one error in dma irqs
authorGraeme Gregory <gg@opensource.wolfsonmicro.com>
Fri, 16 Mar 2007 16:11:43 +0000 (17:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 17 Mar 2007 22:30:28 +0000 (22:30 +0000)
This patch corrects an error when demuxing the DMA irq's
DMA1 was used as a base and this should have been DMA0.
Without this fix we do not process DMA0 irq's and the
system effectively locks up in a loop trying the process
the irq it never can.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2443/irq.c

index 7a45b6dcb73e1412e5b9104a8d68851306decdd4..756573595b888460dd370f89ffded9cb0f4bfe15 100644 (file)
@@ -137,7 +137,7 @@ static struct irq_chip s3c2443_irq_lcd = {
 
 static void s3c2443_irq_demux_dma(unsigned int irq, struct irq_desc *desc)
 {
-       s3c2443_irq_demux(IRQ_S3C2443_DMA1, 6);
+       s3c2443_irq_demux(IRQ_S3C2443_DMA0, 6);
 }
 
 #define INTMSK_DMA     (1UL << (IRQ_S3C2443_DMA - IRQ_EINT0))