mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v12 0/5] iio: pressure: dps310: hardware FIFO support
@ 2026-10-03 19:50 Rupesh Majhi
  2026-10-03 19:50 ` [PATCH v12 1/5] iio: pressure: dps310: use devm_mutex_init() Rupesh Majhi
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Rupesh Majhi @ 2026-10-03 19:50 UTC (permalink / raw)
  To: Andy Shevchenko, Bill Wendling, David Lechner, Eddie James,
	Jonathan Cameron, Justin Stitt, Nathan Chancellor,
	Nick Desaulniers, Nuno Sá
  Cc: linux-iio, linux-kernel, llvm, Rupesh Majhi

Rest of FIFO series, on iio/togreg which has 1-6 and 10 of v8.

Since v11:
 - patch 1: blank line, Reviewed-by Andy
 - patch 2: guard() in postenable, setup moved to a helper that kfree()s
   on error, scoped_guard() in fifo_work, loop counters in the for,
   ternary on one line, two comments trimmed. The first loop in
   fifo_drain keeps cnt outside, it is used after the loop.
 - patch 3: signature wrapped
 - patch 4: drain comment and commit message trimmed
 - patch 5: Suggested-by Andy back, assert in the new helper too, still
   optional

Pressure overflow fix is now at v4:
https://lore.kernel.org/linux-iio/20261003185716.32732-1-zoone.rupert@gmail.com/
Patches 1 and 5 conflict trivially with it. I can rebase on whichever
goes in first.

Retested on DPS310 with BeagleBone Black. Lockdep run under QEMU.

v11: https://lore.kernel.org/linux-iio/20261002072526.250081-1-zoone.rupert@gmail.com/

Rupesh Majhi (5):
  iio: pressure: dps310: use devm_mutex_init()
  iio: pressure: dps310: read buffered samples from the hardware FIFO
  iio: pressure: dps310: derive the drain interval from the watermark
  iio: pressure: dps310: implement .hwfifo_flush_to_buffer()
  iio: pressure: dps310: assert the lock at runtime too

 drivers/iio/pressure/dps310.c | 441 +++++++++++++++++++++++++++++++++-
 1 file changed, 430 insertions(+), 11 deletions(-)


base-commit: a3b3580713f3ac5a32dc2874ee546828977a1d68
-- 
2.43.0


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

end of thread, other threads:[~2026-10-03 19:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-03 19:50 [PATCH v12 0/5] iio: pressure: dps310: hardware FIFO support Rupesh Majhi
2026-10-03 19:50 ` [PATCH v12 1/5] iio: pressure: dps310: use devm_mutex_init() Rupesh Majhi
2026-10-03 19:50 ` [PATCH v12 2/5] iio: pressure: dps310: read buffered samples from the hardware FIFO Rupesh Majhi
2026-10-03 19:50 ` [PATCH v12 3/5] iio: pressure: dps310: derive the drain interval from the watermark Rupesh Majhi
2026-10-03 19:50 ` [PATCH v12 4/5] iio: pressure: dps310: implement .hwfifo_flush_to_buffer() Rupesh Majhi
2026-10-03 19:50 ` [PATCH v12 5/5] iio: pressure: dps310: assert the lock at runtime too Rupesh Majhi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®