mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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…
x
Reference in New Issue
Block a user