Skip to content

Commit

Permalink
[ARM] 4270/2: mach-s3c2443/irq.c off by one error in dma irqs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Graeme Gregory authored and Russell King committed Mar 17, 2007
1 parent 0803c30 commit 5455a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2443/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 5455a51

Please sign in to comment.