]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sun6i: Protect CPU clock
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 10 May 2014 03:33:40 +0000 (22:33 -0500)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 11 Jun 2014 08:25:01 +0000 (10:25 +0200)
commit57d95db9cbbd19a8089c8fce8e3753ea8c3fae18
tree4ce80641abec950b0ccac952c732dfae852b6657
parentfdbdd706f883dd66cf8714a526f798e77d339cbf
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>
drivers/clk/sunxi/clk-sunxi.c