Re: [PATCH v2 0/3] ms5611 sensor value bug fix; dt-binding fix

From: Jonathan Cameron
Date: Sat Oct 29 2022 - 07:28:58 EST


On Fri, 21 Oct 2022 15:58:19 +0200
Mitja Spes <mitja@xxxxxxxxx> wrote:

> Subject: [PATCH 0/3] ms5611 sensor value bug fix; dt-binding fix
>
> The first patch fixes a bug in ms5611 iio driver where PROM value
> compensation table was overwritten by the last initialized sensor.
> This in turn produced wrong values when multiple sensors were used.
>
> Second patch removes the hardcoded SPI frequency and uses the setting
> from dt-bindings.
>
> Third patch outlines the change from the second patch in the bindings
> example.

1+2 applied to the fixes-togreg branch of iio.git and marked for
stable.

Thanks,

Jonathan

>
> v2:
>
> [PATCH 1-2]
> * no change
>
> [PATCH 3]
> * corrected patch subject
>
> Mitja Spes (3):
> iio: pressure: ms5611: fixed value compensation bug
> iio: pressure: ms5611: changed hardcoded SPI speed to value limited
> dt-bindings: iio: pressure: meas,ms5611: add max SPI frequency to the
> example
>
> .../bindings/iio/pressure/meas,ms5611.yaml | 1 +
> drivers/iio/pressure/ms5611.h | 12 ++---
> drivers/iio/pressure/ms5611_core.c | 51 ++++++++++---------
> drivers/iio/pressure/ms5611_spi.c | 2 +-
> 4 files changed, 33 insertions(+), 33 deletions(-)
>