Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211201
b: refs/heads/master
c: 7031307
h: refs/heads/master
i:
  211199: c08a8cb
v: v3
  • Loading branch information
MyungJoo Ham authored and Ben Dooks committed Sep 30, 2010
1 parent e3ca3cc commit 6e3f264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 4bba0fd8d1c6d405df666e2573e1a1f917098be0
refs/heads/master: 7031307aefb6048377385dbb0af2dd43bb0190bb
4 changes: 2 additions & 2 deletions trunk/drivers/i2c/busses/i2c-s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,8 +662,8 @@ static int s3c24xx_i2c_clockrate(struct s3c24xx_i2c *i2c, unsigned int *got)
unsigned long sda_delay;

if (pdata->sda_delay) {
sda_delay = (freq / 1000) * pdata->sda_delay;
sda_delay /= 1000000;
sda_delay = clkin * pdata->sda_delay;
sda_delay = DIV_ROUND_UP(sda_delay, 1000000);
sda_delay = DIV_ROUND_UP(sda_delay, 5);
if (sda_delay > 3)
sda_delay = 3;
Expand Down

0 comments on commit 6e3f264

Please sign in to comment.