Re: [PATCH v2 1/7] iio: inv_mpu6050: Do burst reads using spi/i2c directly

2016-05-29 Thread Jonathan Cameron
On 18/05/16 16:00, Crestez Dan Leonard wrote: > Using regmap_read_bulk is wrong because it assumes that a range of > registers is being read. In our case reading from the fifo register will > return multiple values but this is *not* auto-increment. > > This currently works by accident. > >

Re: [PATCH v2 1/7] iio: inv_mpu6050: Do burst reads using spi/i2c directly

2016-05-29 Thread Jonathan Cameron
On 18/05/16 16:00, Crestez Dan Leonard wrote: > Using regmap_read_bulk is wrong because it assumes that a range of > registers is being read. In our case reading from the fifo register will > return multiple values but this is *not* auto-increment. > > This currently works by accident. > >

[PATCH v2 1/7] iio: inv_mpu6050: Do burst reads using spi/i2c directly

2016-05-18 Thread Crestez Dan Leonard
Using regmap_read_bulk is wrong because it assumes that a range of registers is being read. In our case reading from the fifo register will return multiple values but this is *not* auto-increment. This currently works by accident. Signed-off-by: Crestez Dan Leonard

[PATCH v2 1/7] iio: inv_mpu6050: Do burst reads using spi/i2c directly

2016-05-18 Thread Crestez Dan Leonard
Using regmap_read_bulk is wrong because it assumes that a range of registers is being read. In our case reading from the fifo register will return multiple values but this is *not* auto-increment. This currently works by accident. Signed-off-by: Crestez Dan Leonard ---