ARM: S3C24XX: Fix Demux error in UART3 irqs on S3C2443 and S3C2416
Subsystems (3)
PATCH 1/2 ARM: S3C24XX: Fix Demux error in UART3 irqs on S3C2443 and S3C2416
From: Abhilash Kesavan <[email protected]>
IRQ_S3C2443_UART3 is being used as the base when it should actually be IRQ_S3C2443_RX3 on S3C2443 and S3C2416 for the UART3.
--- arch/arm/mach-s3c2416/irq.c | 2 +- arch/arm/mach-s3c2443/irq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-s3c2416/irq.c +1 -1
@@ -168,7 +168,7 @@ static struct irq_chip s3c2416_irq_dma = {static void s3c2416_irq_demux_uart3 (unsigned int irq,struct irq_desc *desc) { -s3c2416_irq_demux (IRQ_S3C2443_UART3 ,3 ); +s3c2416_irq_demux (IRQ_S3C2443_RX3 ,3 ); }#define INTMSK_UART3 (1UL << (IRQ_S3C2443_UART3 - IRQ_EINT0))
arch/arm/mach-s3c2443/irq.c +1 -1
@@ -166,7 +166,7 @@ static struct irq_chip s3c2443_irq_dma = {static void s3c2443_irq_demux_uart3 (unsigned int irq,struct irq_desc *desc) { -s3c2443_irq_demux (IRQ_S3C2443_UART3 ,3 ); +s3c2443_irq_demux (IRQ_S3C2443_RX3 ,3 ); }#define INTMSK_UART3 (1UL << (IRQ_S3C2443_UART3 - IRQ_EINT0))
Signature · 1 line
1.6.2.5
Quoted 18 lines · Sangbeom Kim
From: Abhilash Kesavan <[email protected]>
IRQ_S3C2443_UART3is being used as the base when it should actually beIRQ_S3C2443_RX3on S3C2443 and S3C2416 for the UART3.Signed-off-by Abhilash Kesavan <[email protected]>Signed-off-by Sangbeom Kim <[email protected]>--- arch/arm/mach-s3c2416/irq.c | 2 +- arch/arm/mach-s3c2443/irq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)arch/arm/mach-s3c2416/irq.c +0
-0
arch/arm/mach-s3c2416/irq.c static struct irq_chip s3c2416_irq_dma = { · line 169
Quoted 2 lines
arch/arm/mach-s3c2416/irq.c +0
-0@@ -168,7 +168,7 @@ static struct irq_chip s3c2416_irq_dma = { static void s3c2416_irq_demux_uart3(unsigned int irq, struct irq_desc
*desc)
arch/arm/mach-s3c2443/irq.c static struct irq_chip s3c2443_irq_dma = { · line 167
Quoted 13 lines
arch/arm/mach-s3c2416/irq.c +1
-1{ -s3c2416_irq_demux (IRQ_S3C2443_UART3 ,3 ); +s3c2416_irq_demux (IRQ_S3C2443_RX3 ,3 ); }#define INTMSK_UART3 (1UL << (IRQ_S3C2443_UART3 - IRQ_EINT0))arch/arm/mach-s3c2443/irq.c +0
-0@@ -166,7 +166,7 @@ static struct irq_chip s3c2443_irq_dma = { static void s3c2443_irq_demux_uart3(unsigned int irq, struct irq_desc
*desc)
arch/arm/mach-s3c2443/irq.c static struct irq_chip s3c2443_irq_dma = {
Quoted 7 lines
arch/arm/mach-s3c2443/irq.c +1
-2{ -s3c2443_irq_demux (IRQ_S3C2443_UART3 ,3 ); +s3c2443_irq_demux (IRQ_S3C2443_RX3 ,3 ); }#define INTMSK_UART3 (1UL << (IRQ_S3C2443_UART3 - IRQ_EINT0)) --
Looks ok...will apply.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.