Hi,

I found that there are already some patches submitted for this purpose.

http://www.spinics.net/lists/linux-samsung-soc/msg04371.html
http://www.spinics.net/lists/linux-samsung-soc/msg04372.html

Sorry for the trouble. Please ignore this patch.

Regards,
Tushar

On 24 March 2011 14:50, Tushar Behera <[email protected]> wrote:
>
> 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 <[email protected]>
> Signed-off-by: Changhwan Youn <[email protected]>
> ---
>  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 [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
Tushar Behera
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to