Re: [PATCH v4 2/2] iio: pressure: dps310: Reset chip if MEAS_CFG is corrupt

From: Jonathan Cameron
Date: Sat Aug 20 2022 - 07:40:19 EST


On Mon, 15 Aug 2022 08:59:03 -0500
Eddie James <eajames@xxxxxxxxxxxxx> wrote:

> On 8/12/22 17:13, Andy Shevchenko wrote:
> > On Wed, Aug 10, 2022 at 12:12 AM Eddie James <eajames@xxxxxxxxxxxxx> wrote:
> >> Corruption of the MEAS_CFG register has been observed soon after
> >> system boot. In order to recover this scenario, check MEAS_CFG if
> >> measurement isn't ready, and if it's incorrect, reset the DPS310
> >> and execute the startup procedure.
> > Looks like both patches miss the Fixes tag. Can you add them?
>
>
> Well this isn't really a software fix - there's no identifiable bug in
> the driver. Just trying to recover the chip in this observed mystery
> scenario.

The tag is useful as well for where to backport this to.
Probably just tag the driver introduction.

Your description makes it clear we aren't finding faults in the
driver - just that it didn't cover this undocumented case!

Jonathan