ARM: mxc: time: add clk_prepare/clk_unprepare
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>
This commit is contained in:
parent
62aa2b537c
commit
46f417def8
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ void __init mxc_timer_init(struct clk *timer_clk, void __iomem *base, int irq)
|
||||||
{
|
{
|
||||||
uint32_t tctl_val;
|
uint32_t tctl_val;
|
||||||
|
|
||||||
clk_enable(timer_clk);
|
clk_prepare_enable(timer_clk);
|
||||||
|
|
||||||
timer_base = base;
|
timer_base = base;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue