Re: [PATCH v3 0/2] iio: light: cm3323: fix and cleanup

From: Andy Shevchenko

Date: Tue Apr 07 2026 - 10:24:37 EST


On Tue, Apr 07, 2026 at 09:00:51AM +0200, Aldo Conte wrote:
> 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.

It's your responsibility to carry the given tags or explain why they weren't
taken into consideration.

--
With Best Regards,
Andy Shevchenko