Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253897
b: refs/heads/master
c: 650f156
h: refs/heads/master
i:
  253895: ce95e00
v: v3
  • Loading branch information
Jeff Ohlstein authored and David Brown committed Jun 17, 2011
1 parent 5c79e16 commit 303625c
Show file tree
Hide file tree
Showing 2 changed files with 6 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: ebf30dc91cc8592cd72b004219cfc276b3ad2854
refs/heads/master: 650f156775c2638cc02ed7df31186a09ba79666a
6 changes: 5 additions & 1 deletion trunk/arch/arm/mach-msm/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ static cycle_t msm_read_timer_count(struct clocksource *cs)
{
struct msm_clock *clk = container_of(cs, struct msm_clock, clocksource);

return readl(clk->global_counter);
/*
* Shift timer count down by a constant due to unreliable lower bits
* on some targets.
*/
return readl(clk->global_counter) >> clk->shift;
}

static struct msm_clock *clockevent_to_clock(struct clock_event_device *evt)
Expand Down

0 comments on commit 303625c

Please sign in to comment.