Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319141
b: refs/heads/master
c: 9aa8ec6
h: refs/heads/master
i:
  319139: 85499a5
v: v3
  • Loading branch information
Tasslehoff Kjappfot authored and Wolfram Sang committed Jul 8, 2012
1 parent a30a0ca commit 8b9b3a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 3b0fb97c8dc476935670706873c27a474191ccce
refs/heads/master: 9aa8ec676b6ef151ab11868d16a928d92410d25e
10 changes: 5 additions & 5 deletions trunk/drivers/i2c/busses/i2c-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,11 +427,6 @@ static int omap_i2c_init(struct omap_i2c_dev *dev)
/* Take the I2C module out of reset: */
omap_i2c_write_reg(dev, OMAP_I2C_CON_REG, OMAP_I2C_CON_EN);

dev->errata = 0;

if (dev->flags & OMAP_I2C_FLAG_APPLY_ERRATA_I207)
dev->errata |= I2C_OMAP_ERRATA_I207;

/* Enable interrupts */
dev->iestate = (OMAP_I2C_IE_XRDY | OMAP_I2C_IE_RRDY |
OMAP_I2C_IE_ARDY | OMAP_I2C_IE_NACK |
Expand Down Expand Up @@ -1019,6 +1014,11 @@ omap_i2c_probe(struct platform_device *pdev)

dev->rev = omap_i2c_read_reg(dev, OMAP_I2C_REV_REG) & 0xff;

dev->errata = 0;

if (dev->flags & OMAP_I2C_FLAG_APPLY_ERRATA_I207)
dev->errata |= I2C_OMAP_ERRATA_I207;

if (dev->rev <= OMAP_I2C_REV_ON_3430)
dev->errata |= I2C_OMAP3_1P153;

Expand Down

0 comments on commit 8b9b3a0

Please sign in to comment.