]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: shmobile: r8a7790: Correct SYSCIER value
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 12 Mar 2015 03:55:36 +0000 (12:55 +0900)
committerLuis Henriques <luis.henriques@canonical.com>
Wed, 6 May 2015 10:32:59 +0000 (11:32 +0100)
commit ee72f6adfdd95b53432eb60b6944c6fe2790dd13 upstream.

Set the SYSCIER as per the values indicated in the documentation.
The value previously used appears to been copied from the r8a7779
implementation but on closer inspection is not correct for the r8a7790.

Fixes: a48f165509c1 ("ARM: shmobile: r8a7790 SYSC setup code")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
arch/arm/mach-shmobile/pm-r8a7790.c

index fc82839e2c2a1b68e4adaa31f1fe5db1b68cc963..886b0b3b8ff570eb3e12cfc04c1e203d07098a2a 100644 (file)
@@ -26,7 +26,7 @@ static void __init r8a7790_sysc_init(void)
        void __iomem *base = rcar_sysc_init(0xe6180000);
 
        /* enable all interrupt sources, but do not use interrupt handler */
-       iowrite32(0x0131000e, base + SYSCIER);
+       iowrite32(0x013111ef, base + SYSCIER);
        iowrite32(0, base + SYSCIMR);
 }