summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/system.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-12-20 06:50:11 +0100
committerShawn Guo <shawn.guo@linaro.org>2011-12-28 14:26:07 +0100
commitae68f7af05dbce25889ab10b302fba927dcdb295 (patch)
treead32e84db139482901f754c16a210540a9548af3 /arch/arm/mach-mxs/system.c
parentclk: add helper functions clk_prepare_enable and clk_disable_unprepare (diff)
downloadlinux-ae68f7af05dbce25889ab10b302fba927dcdb295.tar.xz
linux-ae68f7af05dbce25889ab10b302fba927dcdb295.zip
ARM: mxs: convert platform code to clk_prepare/clk_unprepare
The patch converts mxs platform code to clk_prepare/clk_unprepare by using helper functions clk_prepare_enable/clk_disable_unprepare. Signed-off-by: Richard Zhao <richard.zhao@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/system.c')
-rw-r--r--arch/arm/mach-mxs/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mxs/system.c b/arch/arm/mach-mxs/system.c
index 20ec3bddf7cd..9760a1285e0d 100644
--- a/arch/arm/mach-mxs/system.c
+++ b/arch/arm/mach-mxs/system.c
@@ -66,7 +66,7 @@ static int __init mxs_arch_reset_init(void)
clk = clk_get_sys("rtc", NULL);
if (!IS_ERR(clk))
- clk_enable(clk);
+ clk_prepare_enable(clk);
return 0;
}