[PATCH] ARM: EXYNOS4: IRQ flags for SMSC911X set as HIGH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Signed-off-by: Changhwan Youn <chaos.youn@xxxxxxxxxxx>
---
 arch/arm/mach-exynos4/mach-smdkc210.c |    2 +-
 arch/arm/mach-exynos4/mach-smdkv310.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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,
 	},
 };
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux