Patchwork [V3,05/14] ARM: mxc: epit: add clk_prepare/clk_unprepare

login
register
mail settings
Submitter Richard Zhao
Date Nov. 11, 2011, 10:50 a.m.
Message ID <1321008637-19999-6-git-send-email-richard.zhao@linaro.org>
Download mbox | patch
Permalink /patch/125136/
State New
Headers show

Comments

Richard Zhao - Nov. 11, 2011, 10:50 a.m.
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
---
 arch/arm/plat-mxc/epit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/arm/plat-mxc/epit.c b/arch/arm/plat-mxc/epit.c
index d3467f8..9129c9e 100644
--- a/arch/arm/plat-mxc/epit.c
+++ b/arch/arm/plat-mxc/epit.c
@@ -203,7 +203,7 @@  static int __init epit_clockevent_init(struct clk *timer_clk)
 
 void __init epit_timer_init(struct clk *timer_clk, void __iomem *base, int irq)
 {
-	clk_enable(timer_clk);
+	clk_prepare_enable(timer_clk);
 
 	timer_base = base;