2022-10-19 14:04:34

by Andy Shevchenko

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

On Wed, Oct 19, 2022 at 3:55 PM Mitja Spes <[email protected]> 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