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

From: Jonathan Cameron

Date: Fri Nov 27 2026 - 19:44:12 EST


On Fri, 27 Nov 2026 13:26:34 -0500
Marco Chen <marcochen.dev@xxxxxxxxx> wrote:

> 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.

Applied to the testing branch of iio.git

Thanks,

Jonathan

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