Skip to content

accel: adxl380: Improve data reading from FIFO

Francesco Lavra linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review
  2. v12 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: accel: adxl380: Avoid reading more entries than present in FIFOdrivers/iio/accel/adxl380.c+1 -00 replies
2/2iio: accel: adxl380: Optimize reading of FIFO entries in interrupt handlerdrivers/iio/accel/adxl380.c+5 -75 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] accel: adxl380: Improve data reading from FIFO

Patch 1 fixes a bug that might cause the adxl380 interrupt handler to read from the sensor FIFO more entries than actually present. Patch 2 optimizes transfer of FIFO data by minimizing transport protocol overhead.

Changes from v1 [1]:
- replaced 2 with sizeof(*st->fifo_buf) in adxl380_irq_handler (Jonathan)

[1] https://lore.kernel.org/linux-iio/[email protected]/T/

Francesco Lavra (2):
iio: accel: adxl380: Avoid reading more entries than present in FIFO
iio: accel: adxl380: Optimize reading of FIFO entries in interrupt
handler

 drivers/iio/accel/adxl380.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
Signature · 1 line
2.39.5