All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] accel: adxl380: Improve data reading from FIFO
@ 2026-01-19 10:23 Francesco Lavra
  2026-01-19 10:23 ` [PATCH v2 1/2] iio: accel: adxl380: Avoid reading more entries than present in FIFO Francesco Lavra
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Francesco Lavra @ 2026-01-19 10:23 UTC (permalink / raw)
  To: Ramona Gradinariu, Antoniu Miclaus, Lars-Peter Clausen,
	Michael Hennerich, Jonathan Cameron, David Lechner, Nuno Sá,
	Andy Shevchenko, linux-iio, linux-kernel

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/

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(-)

-- 
2.39.5


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-01-23 11:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-19 10:23 [PATCH v2 0/2] accel: adxl380: Improve data reading from FIFO Francesco Lavra
2026-01-19 10:23 ` [PATCH v2 1/2] iio: accel: adxl380: Avoid reading more entries than present in FIFO Francesco Lavra
2026-01-19 10:23 ` [PATCH v2 2/2] iio: accel: adxl380: Optimize reading of FIFO entries in interrupt handler Francesco Lavra
2026-01-22 19:53   ` Jonathan Cameron
2026-01-23  8:13     ` Andy Shevchenko
2026-01-23  9:54       ` Jonathan Cameron
2026-01-23 11:09         ` Francesco Lavra
2026-01-23 11:12           ` Andy Shevchenko
2026-01-22 19:54 ` [PATCH v2 0/2] accel: adxl380: Improve data reading from FIFO Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.