diff mbox

ARM: EXYNOS4: IRQ flags for SMSC911X set as HIGH

Message ID 4DA56D17.4070002@linaro.org
State Superseded
Headers show

Commit Message

Tushar Behera April 13, 2011, 9:29 a.m. UTC
-------- Original Message --------
Subject: [PATCH] ARM: EXYNOS4: IRQ flags for SMSC911X set as HIGH
Date: Thu, 24 Mar 2011 14:50:37 +0530
From: Tushar Behera <tushar.behera@linaro.org>
To: linux-samsung-soc@vger.kernel.org
CC: kgene.kim@samsung.com

There is a mismatch in IRQ flag and irq_polarity settings for
SMSC911X. This results in a kernel warning.

IRQ flag is set to HIGH to match the irq_polarity.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
---
  arch/arm/mach-exynos4/mach-smdkc210.c |    2 +-
  arch/arm/mach-exynos4/mach-smdkv310.c |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/arch/arm/mach-exynos4/mach-smdkc210.c 
b/arch/arm/mach-exynos4/mach-smdkc210.c
index 25a2568..5ad5e13 100644
--- a/arch/arm/mach-exynos4/mach-smdkc210.c
+++ b/arch/arm/mach-exynos4/mach-smdkc210.c
@@ -120,7 +120,7 @@  static struct resource smdkc210_smsc911x_resources[] = {
  	[1] = {
  		.start	= IRQ_EINT(5),
  		.end	= IRQ_EINT(5),
-		.flags	= IORESOURCE_IRQ | IRQF_TRIGGER_LOW,
+		.flags	= IORESOURCE_IRQ | IRQF_TRIGGER_HIGH,
  	},
  };

diff --git a/arch/arm/mach-exynos4/mach-smdkv310.c 
b/arch/arm/mach-exynos4/mach-smdkv310.c
index 88e0275..a44529d 100644
--- a/arch/arm/mach-exynos4/mach-smdkv310.c
+++ b/arch/arm/mach-exynos4/mach-smdkv310.c
@@ -122,7 +122,7 @@  static struct resource smdkv310_smsc911x_resources[] = {
  	[1] = {
  		.start	= IRQ_EINT(5),
  		.end	= IRQ_EINT(5),
-		.flags	= IORESOURCE_IRQ | IRQF_TRIGGER_LOW,
+		.flags	= IORESOURCE_IRQ | IRQF_TRIGGER_HIGH,
  	},
  };