Linux IIO development
 help / color / mirror / Atom feed
From: Marco Chen <marcochen.dev@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: "David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	pmeerw@pmeerw.net, matt@ranostay.sg, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org, skhan@linuxfoundation.org,
	linux-kernel-mentees@lists.linux.dev
Subject: [PATCH 0/2] iio: health: max30102: fifo_ready() rename and I2C error propagation
Date: Fri, 27 Nov 2026 13:26:34 -0500	[thread overview]
Message-ID: <20261127182636.83803-1-marcochen.dev@gmail.com> (raw)

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


             reply	other threads:[~2026-11-27 18:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 18:26 Marco Chen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127182636.83803-1-marcochen.dev@gmail.com \
    --to=marcochen.dev@gmail.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel-mentees@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt@ranostay.sg \
    --cc=nuno.sa@analog.com \
    --cc=pmeerw@pmeerw.net \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox