Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303262
b: refs/heads/master
c: 4228716
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Rafael J. Wysocki committed May 12, 2012
1 parent 633398e commit 62162a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 9f6b78223b7b49bc06d2e84b15d48f02206ec3c3
refs/heads/master: 4228716c87f7915410721952bad3e568fb5f2431
12 changes: 6 additions & 6 deletions trunk/arch/arm/mach-shmobile/setup-r8a7740.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,19 +350,19 @@ static void r8a7740_i2c_workaround(struct platform_device *pdev)
i2c_write(reg, ICSTART, i2c_read(reg, ICSTART) | 0x10);
i2c_read(reg, ICSTART); /* dummy read */

mdelay(100);
udelay(10);

i2c_write(reg, ICCR, 0x01);
i2c_read(reg, ICCR);
i2c_write(reg, ICSTART, 0x00);
i2c_read(reg, ICSTART);

udelay(10);

i2c_write(reg, ICCR, 0x10);
mdelay(100);
udelay(10);
i2c_write(reg, ICCR, 0x00);
mdelay(100);
udelay(10);
i2c_write(reg, ICCR, 0x10);
mdelay(100);
udelay(10);

iounmap(reg);
}
Expand Down

0 comments on commit 62162a3

Please sign in to comment.