clk: rockchip: set the id for crypto clk
authorZain Wang <zain.wang@rock-chips.com>
Tue, 17 Nov 2015 04:00:45 +0000 (12:00 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 23 Nov 2015 20:24:27 +0000 (21:24 +0100)
Set the newly added id for the crypto clk, so that it can be called
in other parts.

Signed-off-by: Zain Wang <zain.wang@rock-chips.com>
Acked-by: Michael Turquette <mturquette@baylibre.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3288.c

index 9040878..3fceda1 100644 (file)
@@ -295,7 +295,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
                        RK3288_CLKGATE_CON(0), 4, GFLAGS),
        GATE(0, "c2c_host", "aclk_cpu_src", 0,
                        RK3288_CLKGATE_CON(13), 8, GFLAGS),
-       COMPOSITE_NOMUX(0, "crypto", "aclk_cpu_pre", 0,
+       COMPOSITE_NOMUX(SCLK_CRYPTO, "crypto", "aclk_cpu_pre", 0,
                        RK3288_CLKSEL_CON(26), 6, 2, DFLAGS,
                        RK3288_CLKGATE_CON(5), 4, GFLAGS),
        GATE(0, "aclk_bus_2pmu", "aclk_cpu_pre", CLK_IGNORE_UNUSED,