Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321247
b: refs/heads/master
c: debeaf6
h: refs/heads/master
i:
  321245: 9cedaa0
  321243: 875822b
  321239: c18d7eb
  321231: c501973
  321215: 57bd669
v: v3
  • Loading branch information
Barry Song authored and Olof Johansson committed Aug 2, 2012
1 parent 4bc405e commit 49c267a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 52c2ebd757d94f4a7215c3fc906646b24f44ecab
refs/heads/master: debeaf6c2ded82bea65c1a487fb629fb0d2bb66f
6 changes: 3 additions & 3 deletions trunk/arch/arm/mach-prima2/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ static void sirfsoc_clocksource_resume(struct clocksource *cs)
{
int i;

for (i = 0; i < SIRFSOC_TIMER_REG_CNT; i++)
for (i = 0; i < SIRFSOC_TIMER_REG_CNT - 2; i++)
writel_relaxed(sirfsoc_timer_reg_val[i], sirfsoc_timer_base + sirfsoc_timer_reg_list[i]);

writel_relaxed(sirfsoc_timer_reg_val[i - 2], sirfsoc_timer_base + SIRFSOC_TIMER_COUNTER_LO);
writel_relaxed(sirfsoc_timer_reg_val[i - 1], sirfsoc_timer_base + SIRFSOC_TIMER_COUNTER_HI);
writel_relaxed(sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT - 2], sirfsoc_timer_base + SIRFSOC_TIMER_COUNTER_LO);
writel_relaxed(sirfsoc_timer_reg_val[SIRFSOC_TIMER_REG_CNT - 1], sirfsoc_timer_base + SIRFSOC_TIMER_COUNTER_HI);
}

static struct clock_event_device sirfsoc_clockevent = {
Expand Down

0 comments on commit 49c267a

Please sign in to comment.