Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163617
b: refs/heads/master
c: 0ecc3bf
h: refs/heads/master
i:
  163615: e4dc0bb
v: v3
  • Loading branch information
Linus Walleij authored and Wim Van Sebroeck committed Sep 18, 2009
1 parent 945eb2f commit 2bd901a
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 502a0106b2cc31940f690dc6693fddfd3b97cab5
refs/heads/master: 0ecc3bf47b09de24c6b1163ba6558448aadd31ce
2 changes: 1 addition & 1 deletion trunk/drivers/watchdog/coh901327_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static void coh901327_enable(u16 timeout)
* Wait 3 32 kHz cycles for it to take effect
*/
freq = clk_get_rate(clk);
delay_ns = (1000000000 + freq - 1) / freq; /* Freq to ns and round up */
delay_ns = DIV_ROUND_UP(1000000000, freq); /* Freq to ns and round up */
delay_ns = 3 * delay_ns; /* Wait 3 cycles */
ndelay(delay_ns);
/* Enable the watchdog interrupt */
Expand Down

0 comments on commit 2bd901a

Please sign in to comment.