projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5c4b6
)
ARM: OMAP: omap GP timer: HZ != 100
author
David Brownell
<dbrownell@users.sourceforge.net>
Thu, 7 Dec 2006 01:14:04 +0000
(17:14 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Fri, 2 Mar 2007 09:47:10 +0000
(
01:47
-0800)
Teach OMAP2 gp timer that HZ isn't always 100.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer-gp.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/timer-gp.c
b/arch/arm/mach-omap2/timer-gp.c
index 6a813f059c892c06d9b8f82eb30a0f6f5c6533f7..45d1aaa51b576d47a3610d6c04c1d8b90691cee3 100644
(file)
--- a/
arch/arm/mach-omap2/timer-gp.c
+++ b/
arch/arm/mach-omap2/timer-gp.c
@@
-65,7
+65,7
@@
static void __init omap2_gp_timer_init(void)
BUG_ON(gptimer == NULL);
omap_dm_timer_set_source(gptimer, OMAP_TIMER_SRC_SYS_CLK);
- tick_period = clk_get_rate(omap_dm_timer_get_fclk(gptimer)) /
100
;
+ tick_period = clk_get_rate(omap_dm_timer_get_fclk(gptimer)) /
HZ
;
tick_period -= 1;
setup_irq(omap_dm_timer_get_irq(gptimer), &omap2_gp_timer_irq);