Re: [PATCH 1/3] iio: pressure: ms5611: fixed value compensation bug

From: Andy Shevchenko
Date: Wed Oct 19 2022 - 09:38:18 EST


On Wed, Oct 19, 2022 at 3:55 PM Mitja Spes <mitja@xxxxxxxxx> wrote:
>
> When using multiple instances of this driver the compensation PROM was
> overwritten by the last initialized sensor. Now each sensor has own PROM

its own

> storage.

This change is just a good example why the chip_info should always be
static const, so the volatile data should come through the different
sources.

--
With Best Regards,
Andy Shevchenko