msm: board-8x60: Migrate to new clock APIs
We must call clk_prepare() before clk_enable(). Since this code
runs in process context we can just call clk_prepare_enable() to
cover both cases.
Change-Id: I707aeba4fc83723da88e5e3c402455052ca9d337
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm8x60.c b/arch/arm/mach-msm/board-msm8x60.c
index 13866e7..e5a31f2 100644
--- a/arch/arm/mach-msm/board-msm8x60.c
+++ b/arch/arm/mach-msm/board-msm8x60.c
@@ -7517,7 +7517,7 @@
"msm_ebi2", "mem_clk");
return;
}
- clk_enable(mem_clk);
+ clk_prepare_enable(mem_clk);
clk_put(mem_clk);
ebi2_cfg_ptr = ioremap_nocache(0x1a100000, sizeof(uint32_t));