[PATCH 1/9] ARM: vic: Don't write to the read-only register VIC_IRQ_STATUS

Linus Walleij linus.walleij at linaro.org
Sun Oct 9 21:35:27 EDT 2011


2011/10/9 Zoltan Devai <zoss at devai.org>:

> This is unneeded and causes an abort on the SPMP8000 platform.
>
> Signed-off-by: Zoltan Devai <zoss at devai.org>
> ---
>  arch/arm/common/vic.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/common/vic.c b/arch/arm/common/vic.c
> index b22b83d..651c77d 100644
> --- a/arch/arm/common/vic.c
> +++ b/arch/arm/common/vic.c
> @@ -274,7 +274,6 @@ static void __init vic_disable(void __iomem *base)
>        writel(0, base + VIC_INT_SELECT);
>        writel(0, base + VIC_INT_ENABLE);
>        writel(~0, base + VIC_INT_ENABLE_CLEAR);
> -       writel(0, base + VIC_IRQ_STATUS);
>        writel(0, base + VIC_ITCR);
>        writel(~0, base + VIC_INT_SOFT_CLEAR);
>  }

Indeed.

This patch stands on its own, please put it into Russell's patch
tracker at http://www.arm.linux.org.uk/developer/patches/

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list