Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308269
b: refs/heads/master
c: f8abc08
h: refs/heads/master
i:
  308267: 826e321
v: v3
  • Loading branch information
Viresh Kumar authored and Arnd Bergmann committed May 12, 2012
1 parent 0e84840 commit 54daa49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a45896bd3a4b7beb571fa704efa7c2782b791093
refs/heads/master: f8abc080d33e69dfa2c3dd0f84c31832e2679091
8 changes: 4 additions & 4 deletions trunk/arch/arm/plat-spear/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,18 +219,18 @@ void __init spear_setup_timer(void)
goto err_iomap;
}

ret = clk_enable(gpt_clk);
ret = clk_prepare_enable(gpt_clk);
if (ret < 0) {
pr_err("%s:couldn't enable gpt clock\n", __func__);
goto err_clk;
pr_err("%s:couldn't prepare-enable gpt clock\n", __func__);
goto err_prepare_enable_clk;
}

spear_clockevent_init();
spear_clocksource_init();

return;

err_clk:
err_prepare_enable_clk:
clk_put(gpt_clk);
err_iomap:
iounmap(gpt_base);
Expand Down

0 comments on commit 54daa49

Please sign in to comment.