Skip to content

Commit

Permalink
Merge branch 'for-linus/i2c/2636-rc5' of git://git.fluff.org/bjdooks/…
Browse files Browse the repository at this point in the history
…linux

* 'for-linus/i2c/2636-rc5' of git://git.fluff.org/bjdooks/linux:
  i2c-omap: Make sure i2c bus is free before setting it to idle
  • Loading branch information
Linus Torvalds committed Sep 22, 2010
2 parents 8b15575 + 5c64eb2 commit 62f1b49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/i2c/busses/i2c-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,8 @@ omap_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)

if (r == 0)
r = num;

omap_i2c_wait_for_bb(dev);
out:
omap_i2c_idle(dev);
return r;
Expand Down

0 comments on commit 62f1b49

Please sign in to comment.