clk: sun6i: Protect CPU clock

Right now, AHB is an indirect child clock of the CPU clock. If that
happens to change, since the CPU clock has no other consumers declared
in Linux, it would be shut down, which is not really a good idea.

Prevent this by forcing it enabled.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Emilio López <emilio@elopez.com.ar>

+1
+1
drivers/clk/sunxi/clk-sunxi.c
··· 1226 1226 CLK_OF_DECLARE(sun7i_a20_clk_init, "allwinner,sun7i-a20", sun5i_init_clocks); 1227 1227 1228 1228 static const char *sun6i_critical_clocks[] __initdata = { 1229 + "cpu", 1229 1230 }; 1230 1231 1231 1232 static void __init sun6i_init_clocks(struct device_node *node)