Skip to contentSkip to conversation

ARM: S3C24XX: Fix UART3 submask on S3C2416 and S3C2443

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

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

PATCH 2/2 ARM: S3C24XX: Fix UART3 submask on S3C2416 and S3C2443

From: Abhilash Kesavan <[email protected]>

The UART3 submask should be 0x7 (SUBSRCPND[26:24]).

---
 arch/arm/mach-s3c2416/irq.c |    3 +--
 arch/arm/mach-s3c2443/irq.c |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
arch/arm/mach-s3c2416/irq.c +1 -2
index 7844857..00174da 100644
@@ -172,8 +172,7 @@ static void s3c2416_irq_demux_uart3(unsigned int irq, struct irq_desc *desc)
 }
 
 #define INTMSK_UART3	(1UL << (IRQ_S3C2443_UART3 - IRQ_EINT0))
-#define SUBMSK_UART3	(0xf << (IRQ_S3C2443_RX3 - S3C2410_IRQSUB(0)))
-
+#define SUBMSK_UART3	(0x7 << (IRQ_S3C2443_RX3 - S3C2410_IRQSUB(0)))
 
 static void s3c2416_irq_uart3_mask(unsigned int irqno)
 {
arch/arm/mach-s3c2443/irq.c +1 -2
index df2b8db..8934247 100644
@@ -170,8 +170,7 @@ static void s3c2443_irq_demux_uart3(unsigned int irq, struct irq_desc *desc)
 }
 
 #define INTMSK_UART3	(1UL << (IRQ_S3C2443_UART3 - IRQ_EINT0))
-#define SUBMSK_UART3	(0xf << (IRQ_S3C2443_RX3 - S3C2410_IRQSUB(0)))
-
+#define SUBMSK_UART3	(0x7 << (IRQ_S3C2443_RX3 - S3C2410_IRQSUB(0)))
 
 static void s3c2443_irq_uart3_mask(unsigned int irqno)
 {
Signature · 1 line
1.6.2.5
#1 lore raw
Quoted 41 lines · Sangbeom Kim

From: Abhilash Kesavan <[email protected]>

The UART3 submask should be 0x7 (SUBSRCPND[26:24]).

---
 arch/arm/mach-s3c2416/irq.c |    3 +--
 arch/arm/mach-s3c2443/irq.c |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
arch/arm/mach-s3c2416/irq.c +1 -2
index 7844857..00174da 100644
@@ -172,8 +172,7 @@ static void s3c2416_irq_demux_uart3(unsigned int irq,
 struct irq_desc *desc)
 }
 
 #define INTMSK_UART3	(1UL << (IRQ_S3C2443_UART3 - IRQ_EINT0))
-#define SUBMSK_UART3	(0xf << (IRQ_S3C2443_RX3 - S3C2410_IRQSUB(0)))
-
+#define SUBMSK_UART3	(0x7 << (IRQ_S3C2443_RX3 - S3C2410_IRQSUB(0)))
 
 static void s3c2416_irq_uart3_mask(unsigned int irqno)

{

arch/arm/mach-s3c2443/irq.c +1 -2
index df2b8db..8934247 100644
@@ -170,8 +170,7 @@ static void s3c2443_irq_demux_uart3(unsigned int irq,
 struct irq_desc *desc)
 }
 
 #define INTMSK_UART3	(1UL << (IRQ_S3C2443_UART3 - IRQ_EINT0))
-#define SUBMSK_UART3	(0xf << (IRQ_S3C2443_RX3 - S3C2410_IRQSUB(0)))
-
+#define SUBMSK_UART3	(0x7 << (IRQ_S3C2443_RX3 - S3C2410_IRQSUB(0)))
 
 static void s3c2443_irq_uart3_mask(unsigned int irqno)
Quoted 2 lines

{
--

Ok...will apply.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.