Skip to content

Commit

Permalink
ARM: mxc: time: add clk_prepare/clk_unprepare
Browse files Browse the repository at this point in the history
It's for migrating to generic clk framework API.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Richard Zhao authored and Sascha Hauer committed Feb 1, 2012
1 parent 62aa2b5 commit 46f417d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-mxc/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void __init mxc_timer_init(struct clk *timer_clk, void __iomem *base, int irq)
{
uint32_t tctl_val;

clk_enable(timer_clk);
clk_prepare_enable(timer_clk);

timer_base = base;

Expand Down

0 comments on commit 46f417d

Please sign in to comment.