Name
i2c_lock_bus —
Get exclusive access to an I2C bus segment
Synopsis
void i2c_lock_bus ( | struct i2c_adapter * adapter, |
| unsigned int flags) ; |
Arguments
adapter
Target I2C bus segment
flags
I2C_LOCK_ROOT_ADAPTER locks the root i2c adapter, I2C_LOCK_SEGMENT
locks only this branch in the adapter tree