Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355525
b: refs/heads/master
c: eea8e32
h: refs/heads/master
i:
  355523: 42a1a7d
v: v3
  • Loading branch information
Shawn Guo committed Jan 30, 2013
1 parent f84c950 commit 7a8a06d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 1d7180e24e22a608cc4d7e8fd425a19a9394a7ed
refs/heads/master: eea8e326ff476e418b99b6daa97f9bd85ac6c523
3 changes: 2 additions & 1 deletion trunk/arch/arm/mach-imx/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ static int v2_set_next_event(unsigned long evt,

__raw_writel(tcmp, timer_base + V2_TCMP);

return (int)(tcmp - __raw_readl(timer_base + V2_TCN)) < 0 ?
return evt < 0x7fffffff &&
(int)(tcmp - __raw_readl(timer_base + V2_TCN)) < 0 ?
-ETIME : 0;
}

Expand Down

0 comments on commit 7a8a06d

Please sign in to comment.