[PATCH 0/2] iio: health: max30102: fifo_ready() rename and I2C error propagation

From: Marco Chen

Date: Fri Nov 27 2026 - 13:26:47 EST


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