Re: [PATCH v2 2/9] iio: dac: ad3552r-hs: clear reset status flag
From: David Lechner
Date: Wed Jan 08 2025 - 15:51:11 EST
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>