]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clk: sunxi: fix initialization of basic clocks
authorEmilio López <emilio@elopez.com.ar>
Sun, 4 Aug 2013 09:47:29 +0000 (11:47 +0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 27 Aug 2013 23:05:23 +0000 (16:05 -0700)
commit1ec5502ef20acc0af5c9172aac4652cd7cafd852
treea9f220126371cba54d489f5f3cb21b9f4c8d68e6
parentf98d007d332b819b7777bf280a07fc3d2dfe2f7a
clk: sunxi: fix initialization of basic clocks

With the recent move towards CLK_OF_DECLARE(...), the driver stopped
initializing osc32k, which is compatible "fixed-clock". This is because
we never called of_clk_init(NULL). Fix this by moving the only other
simple clock (osc24M) to use CLK_OF_DECLARE(...) and call of_clk_init(NULL)
to initialize both of them.

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