]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: sunxi: mod1 clock should modify it's parent
authorAndrea Venturi <ennesimamail.av@gmail.com>
Mon, 21 Mar 2016 16:10:38 +0000 (17:10 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 21 Apr 2016 22:29:21 +0000 (00:29 +0200)
add CLK_SET_RATE_PARENT to modify the rate on clk upstream

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-a10-mod1.c

index e9d870de165c327c9aa9ac9fd6e82271fba1d375..e2819fa09637530e1e779df89aa48e093e0f8cf0 100644 (file)
@@ -62,7 +62,7 @@ static void __init sun4i_mod1_clk_setup(struct device_node *node)
        clk = clk_register_composite(NULL, clk_name, parents, i,
                                     &mux->hw, &clk_mux_ops,
                                     NULL, NULL,
-                                    &gate->hw, &clk_gate_ops, 0);
+                                    &gate->hw, &clk_gate_ops, CLK_SET_RATE_PARENT);
        if (IS_ERR(clk))
                goto err_free_gate;