clk: renesas: r8a7795: Correct parent clock and sort order for Audio DMACs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 28 Feb 2017 16:31:59 +0000 (17:31 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 21 Mar 2017 10:12:07 +0000 (11:12 +0100)
The parent clock of the Audio DMACs is the "ZS" AXI bus clock, which
maps to S3D1 on R-Car H3 ES1.x.
All module clocks must be sorted by clock ID.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
drivers/clk/renesas/r8a7795-cpg-mssr.c

index 2add821..cde470c 100644 (file)
@@ -142,8 +142,8 @@ static const struct mssr_mod_clk r8a7795_mod_clks[] __initconst = {
        DEF_MOD("rwdt0",                 402,   R8A7795_CLK_R),
        DEF_MOD("intc-ex",               407,   R8A7795_CLK_CP),
        DEF_MOD("intc-ap",               408,   R8A7795_CLK_S3D1),
-       DEF_MOD("audmac0",               502,   R8A7795_CLK_S3D4),
-       DEF_MOD("audmac1",               501,   R8A7795_CLK_S3D4),
+       DEF_MOD("audmac1",               501,   R8A7795_CLK_S3D1),
+       DEF_MOD("audmac0",               502,   R8A7795_CLK_S3D1),
        DEF_MOD("drif7",                 508,   R8A7795_CLK_S3D2),
        DEF_MOD("drif6",                 509,   R8A7795_CLK_S3D2),
        DEF_MOD("drif5",                 510,   R8A7795_CLK_S3D2),