Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342383
b: refs/heads/master
c: 2136683
h: refs/heads/master
i:
  342381: d6d6258
  342379: dc2900a
  342375: dcb2ae0
  342367: 70361ac
v: v3
  • Loading branch information
Linus Walleij committed Nov 5, 2012
1 parent 5e9312e commit 0836e99
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0813069d03f312b48b836f20e7f12073288f0f82
refs/heads/master: 2136683172f49a32b3ed7469f6e5ce20c8f4278b
3 changes: 2 additions & 1 deletion trunk/arch/arm/plat-nomadik/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ void __init nmdk_timer_init(void __iomem *base, int irq)
clk_prescale = MTU_CRn_PRESCALE_1;
}

nmdk_cycle = (rate + HZ/2) / HZ;
/* Cycles for periodic mode */
nmdk_cycle = DIV_ROUND_CLOSEST(rate, HZ);


/* Timer 0 is the free running clocksource */
Expand Down

0 comments on commit 0836e99

Please sign in to comment.