mirror of https://gitee.com/openkylin/linux.git
Merge branch 'for-linus/i2c/2636-rc5' of git://git.fluff.org/bjdooks/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
This commit is contained in:
commit
62f1b494d8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue