Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190112
b: refs/heads/master
c: 42df64b
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Ben Dooks committed Apr 20, 2010
1 parent f79e7cc commit 68c4df2
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 28ad3321a1ac732c7fe37d5be85f67fe40ef18a9
refs/heads/master: 42df64b1f83fa9b786067a0b5a3aca0fbb2d8db8
2 changes: 1 addition & 1 deletion trunk/drivers/i2c/busses/i2c-stu300.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ static int stu300_set_clk(struct stu300_dev *dev, unsigned long clkrate)
int i = 0;

/* Locate the apropriate clock setting */
while (i < ARRAY_SIZE(stu300_clktable) &&
while (i < ARRAY_SIZE(stu300_clktable) - 1 &&
stu300_clktable[i].rate < clkrate)
i++;

Expand Down

0 comments on commit 68c4df2

Please sign in to comment.