Re: [RFC PATCH v3 6/6] iio: adc: meson_saradc: Use regmap_read_poll_timeout() for busy wait

From: Andy Shevchenko
Date: Mon Jun 06 2022 - 06:14:22 EST


On Sun, Jun 05, 2022 at 11:59:53PM +0200, Martin Blumenstingl wrote:
> 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

Thanks for testing!

--
With Best Regards,
Andy Shevchenko