[PATCH 1/5] pxa: Fix warning in zeus.c

Eric Miao eric.y.miao at gmail.com
Mon Jan 10 17:40:30 EST 2011


On Sun, Jan 9, 2011 at 5:29 PM, Marek Vasut <marek.vasut at gmail.com> wrote:
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>

Applied.

> ---
>  arch/arm/mach-pxa/zeus.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/zeus.c b/arch/arm/mach-pxa/zeus.c
> index c87f2b3..29830a3 100644
> --- a/arch/arm/mach-pxa/zeus.c
> +++ b/arch/arm/mach-pxa/zeus.c
> @@ -830,8 +830,8 @@ static void __init zeus_init(void)
>        pr_info("Zeus CPLD V%dI%d\n", (system_rev & 0xf0) >> 4, (system_rev & 0x0f));
>
>        /* Fix timings for dm9000s (CS1/CS2)*/
> -       msc0 = __raw_readl(MSC0) & 0x0000ffff | (dm9000_msc << 16);
> -       msc1 = __raw_readl(MSC1) & 0xffff0000 | dm9000_msc;
> +       msc0 = (__raw_readl(MSC0) & 0x0000ffff) | (dm9000_msc << 16);
> +       msc1 = (__raw_readl(MSC1) & 0xffff0000) | dm9000_msc;
>        __raw_writel(msc0, MSC0);
>        __raw_writel(msc1, MSC1);
>
> --
> 1.7.2.3
>
>



More information about the linux-arm-kernel mailing list