clk: renesas: r8a77965: Replace DU2 clock
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Tue, 13 Mar 2018 15:18:20 +0000 (16:18 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 13 Mar 2018 16:10:45 +0000 (17:10 +0100)
R-Car M3-N does not have the DU2 unit but it has DU3 instead.
Fix the module clock definition to reflect that.

Fixes: 7ce36da900c0a2ff ("clk: renesas: cpg-mssr: Add support for R-Car M3-N")
Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r8a77965-cpg-mssr.c

index 41e506a..b1acfb6 100644 (file)
@@ -173,7 +173,7 @@ static const struct mssr_mod_clk r8a77965_mod_clks[] __initconst = {
        DEF_MOD("hsusb",                704,    R8A77965_CLK_S3D4),
        DEF_MOD("csi20",                714,    R8A77965_CLK_CSI0),
        DEF_MOD("csi40",                716,    R8A77965_CLK_CSI0),
-       DEF_MOD("du2",                  722,    R8A77965_CLK_S2D1),
+       DEF_MOD("du3",                  721,    R8A77965_CLK_S2D1),
        DEF_MOD("du1",                  723,    R8A77965_CLK_S2D1),
        DEF_MOD("du0",                  724,    R8A77965_CLK_S2D1),
        DEF_MOD("lvds",                 727,    R8A77965_CLK_S2D1),