Skip to contentSkip to conversation

ARM: S3C24XX: Fix Demux error in UART3 irqs on S3C2443 and S3C2416

PATCH In review Sangbeom Kim 2 participants 2 messages Nov 17, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index 084d121..7844857 100644
@@ -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
index 0e0d693..df2b8db 100644
@@ -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
#1 lore raw
Quoted 18 lines · Sangbeom Kim

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 +0 -0
index 084d121..7844857 100644

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
index 0e0d693..df2b8db 100644
@@ -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.