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

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sun Jun 5 14:59:53 PDT 2022


On Fri, Jun 3, 2022 at 12:00 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> Simplify busy wait stages by using regmap_read_poll_timeout().
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>

> 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 at googlemail.com> # GXM VIM2



More information about the linux-amlogic mailing list