From patchwork Wed Apr 13 09:29:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 993 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:48:06 -0000 Delivered-To: patches@linaro.org Received: by 10.68.59.138 with SMTP id z10cs290235pbq; Wed, 13 Apr 2011 02:30:08 -0700 (PDT) Received: by 10.42.73.195 with SMTP id t3mr783422icj.106.1302687008038; Wed, 13 Apr 2011 02:30:08 -0700 (PDT) Received: from mail-pv0-f178.google.com (mail-pv0-f178.google.com [74.125.83.178]) by mx.google.com with ESMTPS id wo4si1265906icb.22.2011.04.13.02.30.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Apr 2011 02:30:06 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.178 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=74.125.83.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.83.178 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by pvg7 with SMTP id 7so258838pvg.37 for ; Wed, 13 Apr 2011 02:30:05 -0700 (PDT) Received: by 10.142.51.6 with SMTP id y6mr4429174wfy.420.1302687005766; Wed, 13 Apr 2011 02:30:05 -0700 (PDT) Received: from [10.10.10.29] ([115.113.119.130]) by mx.google.com with ESMTPS id p40sm578890wfc.5.2011.04.13.02.30.01 (version=SSLv3 cipher=OTHER); Wed, 13 Apr 2011 02:30:04 -0700 (PDT) Message-ID: <4DA56D17.4070002@linaro.org> Date: Wed, 13 Apr 2011 14:59:59 +0530 From: Tushar Behera User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: Tushar Behera CC: patches@linaro.org Subject: Fwd: [PATCH] ARM: EXYNOS4: IRQ flags for SMSC911X set as HIGH -------- 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 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 Signed-off-by: Changhwan Youn --- 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, }, };