Re: [PATCH v3 4/8] iio: accel: bmc150: optimize i2c transfers in trigger handler

2015-07-05 Thread Jonathan Cameron
On 03/07/15 10:33, Irina Tirdea wrote: > Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to > enable/disable the bus at each i2c transfer and must wait for > the enable/disable to happen before sending the data. > > When reading data in the trigger handler, the bmc150 accel driver doe

[PATCH v3 4/8] iio: accel: bmc150: optimize i2c transfers in trigger handler

2015-07-03 Thread Irina Tirdea
Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the bmc150 accel driver does one i2c transfer for each axis. This has an imp