Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342391
b: refs/heads/master
c: 16defa6
h: refs/heads/master
i:
  342389: 011d000
  342387: 7cbff1d
  342383: 0836e99
v: v3
  • Loading branch information
Ulf Hansson authored and Linus Walleij committed Nov 16, 2012
1 parent 21dc538 commit e5deb38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: db5eb2daf717d5023ade51fd2a2f7bc0bfcffbde
refs/heads/master: 16defa668d009a762e23d55ce6ecf5ae483dfe10
8 changes: 7 additions & 1 deletion trunk/drivers/clocksource/nomadik-mtu.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,15 @@ void nmdk_clksrc_reset(void)
void __init nmdk_timer_init(void __iomem *base, int irq)
{
unsigned long rate;
struct clk *clk0;
struct clk *clk0, *pclk0;

mtu_base = base;

pclk0 = clk_get_sys("mtu0", "apb_pclk");
BUG_ON(IS_ERR(pclk0));
BUG_ON(clk_prepare(pclk0) < 0);
BUG_ON(clk_enable(pclk0) < 0);

clk0 = clk_get_sys("mtu0", NULL);
BUG_ON(IS_ERR(clk0));
BUG_ON(clk_prepare(clk0) < 0);
Expand Down

0 comments on commit e5deb38

Please sign in to comment.