soc: renesas: rcar-sysc: Improve SYSC interrupt config in legacy wrapper
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 28 Jun 2016 14:10:34 +0000 (16:10 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 29 Jun 2016 12:37:24 +0000 (14:37 +0200)
commitced42730d19dd140a76f86c3761f646b83a35d09
tree076463d68b8178a53060c8372a2be4186f52e024
parent053239987f89f9a6299e78610bad010764bccd71
soc: renesas: rcar-sysc: Improve SYSC interrupt config in legacy wrapper

Align SYSC interrupt configuration in the legacy wrapper with the DT
version:
  - Mask SYSC interrupt sources before enabling them (doesn't matter
    much as they're disabled at the GIC level anyway),
  - Make sure not to clear reserved SYSCIMR bits that were set before.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/rcar-sysc.c