From: Graeme Gregory Date: Fri, 16 Mar 2007 16:11:43 +0000 (+0100) Subject: [ARM] 4270/2: mach-s3c2443/irq.c off by one error in dma irqs X-Git-Tag: upstream/snapshot3+hdmi~35223^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5455a51e6f333d43e0b6b52d1712557475d8eb9d;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [ARM] 4270/2: mach-s3c2443/irq.c off by one error in dma irqs 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 Acked-by: Ben Dooks Signed-off-by: Russell King --- diff --git a/arch/arm/mach-s3c2443/irq.c b/arch/arm/mach-s3c2443/irq.c index 7a45b6d..7565735 100644 --- a/arch/arm/mach-s3c2443/irq.c +++ b/arch/arm/mach-s3c2443/irq.c @@ -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))