]> git.baikalelectronics.ru Git - kernel.git/commit
clk: samsung: fix pm init on non-dt platforms
authorHeiko Stueber <heiko@sntech.de>
Mon, 18 Mar 2013 04:43:52 +0000 (13:43 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 28 Mar 2013 05:46:18 +0000 (14:46 +0900)
commit4d8e35595e21e1ba405fbeb03f36dd4e5fd03339
tree7c63d1b18efbd2e9b2d1cc0a50d22212cfeffacd
parent727933ded1e79a7da03ed562d52976029bfbed4b
clk: samsung: fix pm init on non-dt platforms

The clock_init function checked for a dt node, returning immediately
for non-dt machines. This let to the suspend init never being reached
on those non-DT machines.

So fix this by moving the pm init code above the check.

Signed-off-by: Heiko Stueber <heiko@sntech.de>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/clk/samsung/clk.c