aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/mach-mx28evk.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-12-20 00:50:11 -0500
committerShawn Guo <shawn.guo@linaro.org>2011-12-28 08:26:07 -0500
commitae68f7af05dbce25889ab10b302fba927dcdb295 (patch)
treead32e84db139482901f754c16a210540a9548af3 /arch/arm/mach-mxs/mach-mx28evk.c
parent42c5d52f2bbf68add2d7a6982753993e0c75a119 (diff)
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/mach-mx28evk.c')
-rw-r--r--arch/arm/mach-mxs/mach-mx28evk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c
index 064ec5abaa55..6b9e83e6e893 100644
--- a/arch/arm/mach-mxs/mach-mx28evk.c
+++ b/arch/arm/mach-mxs/mach-mx28evk.c
@@ -228,7 +228,7 @@ static void __init mx28evk_fec_reset(void)
228 /* Enable fec phy clock */ 228 /* Enable fec phy clock */
229 clk = clk_get_sys("pll2", NULL); 229 clk = clk_get_sys("pll2", NULL);
230 if (!IS_ERR(clk)) 230 if (!IS_ERR(clk))
231 clk_enable(clk); 231 clk_prepare_enable(clk);
232 232
233 /* Power up fec phy */ 233 /* Power up fec phy */
234 ret = gpio_request(MX28EVK_FEC_PHY_POWER, "fec-phy-power"); 234 ret = gpio_request(MX28EVK_FEC_PHY_POWER, "fec-phy-power");