From: Aldo Conte <aldocontelk@gmail.com>
To: jic23@kernel.org
Cc: ktsai@capellamicro.com, dlechner@baylibre.com,
nuno.sa@analog.com, andy@kernel.org, daniel.baluta@intel.com,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
skhan@linuxfoundation.org, me@brighamcampbell.com,
linux-kernel-mentees@lists.linux.dev
Subject: [PATCH 0/2] Subject: [PATCH 0/2] iio: light: cm3323: fix and cleanup
Date: Thu, 2 Apr 2026 17:17:28 +0200 [thread overview]
Message-ID: <20260402151730.18901-1-aldocontelk@gmail.com> (raw)
This series fixes a bug and does a cleanup of the CM3323
color light sensor driver.
Patch 1 fixes data->reg_conf being incorrectly initialized with the
return value of the i2c_smbus_write_word_data() instead of the actual
register value. Tested with i2c-stub on a Raspberri Pi 3B.
Patch 2 converts dev_err() to dev_err_probe() in the probe path.
Aldo Conte (2):
iio: light: cm3323: fix reg_conf not being initialized correctly
iio: light: cm3323: use dev_err_probe() in probe path
drivers/iio/light/cm3323.c | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
--
2.53.0
next reply other threads:[~2026-04-02 15:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-02 15:17 Aldo Conte [this message]
2026-04-02 15:17 ` [PATCH 1/2] iio: light: cm3323: fix reg_conf not being initialized correctly Aldo Conte
2026-04-02 16:14 ` Andy Shevchenko
2026-04-02 15:17 ` [PATCH 2/2] iio: light: cm3323: use dev_err_probe() in probe path Aldo Conte
2026-04-02 16:12 ` Andy Shevchenko
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=20260402151730.18901-1-aldocontelk@gmail.com \
--to=aldocontelk@gmail.com \
--cc=andy@kernel.org \
--cc=daniel.baluta@intel.com \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=ktsai@capellamicro.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel-mentees@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=me@brighamcampbell.com \
--cc=nuno.sa@analog.com \
--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