Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: health: max30102: fifo_ready() rename and I2C error propagation
@ 2026-11-27 18:26 Marco Chen
  2026-11-27 18:26 ` [PATCH 1/2] iio: health: max30102: rename fifo_count() to fifo_ready() Marco Chen
  2026-11-27 18:26 ` [PATCH 2/2] iio: health: max30102: propagate I2C read errors Marco Chen
  0 siblings, 2 replies; 3+ messages in thread
From: Marco Chen @ 2026-11-27 18:26 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: David Lechner, Nuno Sá, Andy Shevchenko, pmeerw, matt,
	linux-iio, linux-kernel, skhan, linux-kernel-mentees

Patch 1 follows up on Jonathan's comment on the NULL-dereference fix
and patch 2 returns the actual I2C error from max30102_read_measurement().

All patches were tested on a Raspberry Pi 4 running the IIO subsystem tree
testing branch with the max30102. The module was reloaded and buffered data
was correctly read, with no errors.

Marco Chen (2):
  iio: health: max30102: rename fifo_count() to fifo_ready()
  iio: health: max30102: propagate I2C read errors

 drivers/iio/health/max30102.c | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)


base-commit: 39508411b82d4dc29dd245bb471ec9ecc1111c9d
-- 
2.56.1


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

end of thread, other threads:[~2026-11-27 18:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 18:26 [PATCH 0/2] iio: health: max30102: fifo_ready() rename and I2C error propagation Marco Chen
2026-11-27 18:26 ` [PATCH 1/2] iio: health: max30102: rename fifo_count() to fifo_ready() Marco Chen
2026-11-27 18:26 ` [PATCH 2/2] iio: health: max30102: propagate I2C read errors Marco Chen

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