i2c_lock_bus(9) 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

COPYRIGHT