On Mon, 19 Jan 2026 11:23:15 +0100
Francesco Lavra <flavra@baylibre.com> wrote:
> 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/20260106193627.3989930-1-flavra@baylibre.com/T/
Series applied.
Given timing I've queued it up on the testing (soon to be togreg) branch of iio.git
but marked the first patch for stable so that it'll get backported after the merge
window.
Thanks,
Jonathan
>
> 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(-)
>