Re: [PATCH v2 2/9] iio: dac: ad3552r-hs: clear reset status flag

From: Jonathan Cameron
Date: Sun Jan 12 2025 - 08:37:05 EST


On Wed, 8 Jan 2025 14:51:00 -0600
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> On 1/8/25 11:29 AM, Angelo Dureghello wrote:
> > From: Angelo Dureghello <adureghello@xxxxxxxxxxxx>
> >
> > Clear reset status flag, to keep error status register
> > clean after reset (ad3552r manual, rev B table 38).
> >
> > Reset error flag was left to 1, so debugging registers, the
> > "Error Status Register" was dirty (0x01). It is important
> > to clear this bit, so if there is any reset event over normal
> > working mode, it is possible to detect it.
>
> Do we need to do the same for ad3552r.c as well? Separate patch of course.
>
> >
> > Fixes: 0b4d9fe58be8 ("iio: dac: ad3552r: add high-speed platform driver")
> > Signed-off-by: Angelo Dureghello <adureghello@xxxxxxxxxxxx>
> > ---
> Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>
>

Applied to the fixes-togreg branch of iio.git and marked for stable.