diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-12-20 13:50:11 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2011-12-28 21:26:07 +0800 |
commit | ae68f7af05dbce25889ab10b302fba927dcdb295 (patch) | |
tree | ad32e84db139482901f754c16a210540a9548af3 /arch/arm/mach-mxs/clock-mx28.c | |
parent | 42c5d52f2bbf68add2d7a6982753993e0c75a119 (diff) | |
download | op-kernel-dev-ae68f7af05dbce25889ab10b302fba927dcdb295.zip op-kernel-dev-ae68f7af05dbce25889ab10b302fba927dcdb295.tar.gz |
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/clock-mx28.c')
-rw-r--r-- | arch/arm/mach-mxs/clock-mx28.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c index da6e4aa..f85f1f5 100644 --- a/arch/arm/mach-mxs/clock-mx28.c +++ b/arch/arm/mach-mxs/clock-mx28.c @@ -775,11 +775,11 @@ int __init mx28_clocks_init(void) clk_set_parent(&ssp0_clk, &ref_io0_clk); clk_set_parent(&ssp1_clk, &ref_io0_clk); - clk_enable(&cpu_clk); - clk_enable(&hbus_clk); - clk_enable(&xbus_clk); - clk_enable(&emi_clk); - clk_enable(&uart_clk); + clk_prepare_enable(&cpu_clk); + clk_prepare_enable(&hbus_clk); + clk_prepare_enable(&xbus_clk); + clk_prepare_enable(&emi_clk); + clk_prepare_enable(&uart_clk); clk_set_parent(&lcdif_clk, &ref_pix_clk); clk_set_parent(&saif0_clk, &pll0_clk); |