Re: [RFC PATCH v3 6/6] iio: adc: meson_saradc: Use regmap_read_poll_timeout() for busy wait
From: Martin Blumenstingl
Date: Sun Jun 05 2022 - 18:01:10 EST
On Fri, Jun 3, 2022 at 12:00 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> Simplify busy wait stages by using regmap_read_poll_timeout().
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>
> v3: new patch, but RFC, not always the read_poll_timeout() can be used, would
> be nice to have it tested.
and also:
Tested-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> # GXM VIM2