Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31680
b: refs/heads/master
c: e32f7ec
h: refs/heads/master
v: v3
  • Loading branch information
Timo Teras authored and Tony Lindgren committed Jun 26, 2006
1 parent ce0e63d commit 059f9d4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 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: 77900a2fc3bfb1eb6eaa6d43eef4591e1f7c600d
refs/heads/master: e32f7ec2e8bf00756c74a5e6a80bc59e949dd81d
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-omap2/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ static u32 omap2_get_src_field(u32 *type_to_addr, u32 reg_offset,
val = 0x2;
break;
case CM_WKUP_SEL1:
src_reg_addr = (u32)&CM_CLKSEL2_CORE;
src_reg_addr = (u32)&CM_CLKSEL_WKUP;
mask = 0x3;
if (src_clk == &func_32k_ck)
val = 0x0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-omap2/timer-gp.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void __init omap2_gp_timer_init(void)
u32 tick_period;

omap_dm_timer_init();
gptimer = omap_dm_timer_request_specific(2);
gptimer = omap_dm_timer_request_specific(1);
BUG_ON(gptimer == NULL);

omap_dm_timer_set_source(gptimer, OMAP_TIMER_SRC_SYS_CLK);
Expand Down
9 changes: 5 additions & 4 deletions trunk/arch/arm/plat-omap/dmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,10 @@ static void omap_dm_timer_reset(struct omap_dm_timer *timer)
{
u32 l;

omap_dm_timer_write_reg(timer, OMAP_TIMER_IF_CTRL_REG, 0x06);
omap_dm_timer_wait_for_reset(timer);

if (timer != &dm_timers[0]) {
omap_dm_timer_write_reg(timer, OMAP_TIMER_IF_CTRL_REG, 0x06);
omap_dm_timer_wait_for_reset(timer);
}
omap_dm_timer_set_source(timer, OMAP_TIMER_SRC_SYS_CLK);

/* Set to smart-idle mode */
Expand Down Expand Up @@ -335,7 +336,7 @@ void omap_dm_timer_set_source(struct omap_dm_timer *timer, int source)

/* When the functional clock disappears, too quick writes seem to
* cause an abort. */
udelay(50);
__delay(15000);
}

#endif
Expand Down

0 comments on commit 059f9d4

Please sign in to comment.