Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319145
b: refs/heads/master
c: ec7aaca
h: refs/heads/master
i:
  319143: d33fad7
v: v3
  • Loading branch information
Laxman Dewangan authored and Wolfram Sang committed Jul 8, 2012
1 parent 6b8e14d commit 36d4deb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b4fde5e7ed1c275986f45fe411ef7a2df58f9652
refs/heads/master: ec7aaca2f64f509f45d463d784b41d0b3d2be083
4 changes: 4 additions & 0 deletions trunk/drivers/i2c/busses/i2c-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ static void i2c_writel(struct tegra_i2c_dev *i2c_dev, u32 val,
unsigned long reg)
{
writel(val, i2c_dev->base + tegra_i2c_reg_addr(i2c_dev, reg));

/* Read back register to make sure that register writes completed */
if (reg != I2C_TX_FIFO)
readl(i2c_dev->base + tegra_i2c_reg_addr(i2c_dev, reg));
}

static u32 i2c_readl(struct tegra_i2c_dev *i2c_dev, unsigned long reg)
Expand Down

0 comments on commit 36d4deb

Please sign in to comment.