]> asedeno.scripts.mit.edu Git - linux.git/commit
soc: renesas: r8a77990-sysc: Fix initialization order of 3DG-{A,B}
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 5 Dec 2018 15:39:42 +0000 (16:39 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 6 Dec 2018 20:10:08 +0000 (12:10 -0800)
commitb0d7fbf8b174168c580bb310964c3c809e5569a9
tree1c2ac80cb3ae992ecddc8230e39a78c88e35f8e2
parent160bfa7c724b348a90a12dd9694f351927a15b8e
soc: renesas: r8a77990-sysc: Fix initialization order of 3DG-{A,B}

The workaround for the wrong hierarchy of the 3DG-{A,B} power
domains on R-Car E3 ES1.0 corrected the parent domains.
However, the 3DG-{A,B} power domains were still initialized and powered
in the wrong order, causing 3DG operation to fail.

Fix this by changing the order in the table at runtime, when running on
an affected SoC.

Fixes: 086b399965a7ee7e ("soc: renesas: r8a77990-sysc: Add workaround for 3DG-{A,B}")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/r8a77990-sysc.c