ARM: S3C24XX: Fix UART3 submask on S3C2416 and S3C2443
authorAbhilash Kesavan <a.kesavan@samsung.com>
Thu, 21 Oct 2010 01:15:48 +0000 (06:45 +0530)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 25 Nov 2010 01:58:11 +0000 (10:58 +0900)
The UART3 submask should be 0x7 (SUBSRCPND[26:24]).

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c2416/irq.c
arch/arm/mach-s3c2443/irq.c

index 784485777896570a630d47380f98acc0c15c99b0..00174daf15265024fccbf6063dc56614e827fafd 100644 (file)
@@ -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)
 {
index df2b8db498188090d3e4fbe716c50b2ea0942807..893424767ce10b68b4420ff40d3026df331639a7 100644 (file)
@@ -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)
 {