Re: [PATCH v2 1/3] iio: accel: adxl372: Fix/remove limitation for FIFO samples

2019-09-17 Thread Popa, Stefan Serban
On Du, 2019-09-15 at 14:27 +0100, Jonathan Cameron wrote: > > > > On Tue, 10 Sep 2019 17:43:32 +0300 > Stefan Popa wrote: > > > > > > > > > > > Currently, the driver sets the FIFO_SAMPLES register with the number of > > sample sets (maximum of 170 for 3 axis data, 256 for 2-axis and 512

Re: [PATCH v2 1/3] iio: accel: adxl372: Fix/remove limitation for FIFO samples

2019-09-15 Thread Jonathan Cameron
On Tue, 10 Sep 2019 17:43:32 +0300 Stefan Popa wrote: > Currently, the driver sets the FIFO_SAMPLES register with the number of > sample sets (maximum of 170 for 3 axis data, 256 for 2-axis and 512 for > single axis). However, the FIFO_SAMPLES register should store the number > of samples,

[PATCH v2 1/3] iio: accel: adxl372: Fix/remove limitation for FIFO samples

2019-09-10 Thread Stefan Popa
Currently, the driver sets the FIFO_SAMPLES register with the number of sample sets (maximum of 170 for 3 axis data, 256 for 2-axis and 512 for single axis). However, the FIFO_SAMPLES register should store the number of samples, regardless of how the FIFO format is configured. Signed-off-by: