lkml.org 
[lkml]   [2022]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 2/2] iio: pressure: dps310: Reset chip if MEAS_CFG is corrupt
On Mon, 15 Aug 2022 08:59:03 -0500
Eddie James <eajames@linux.ibm.com> wrote:

> On 8/12/22 17:13, Andy Shevchenko wrote:
> > On Wed, Aug 10, 2022 at 12:12 AM Eddie James <eajames@linux.ibm.com> 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

\
 
 \ /
  Last update: 2022-08-20 13:41    [W:0.057 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site