Re: [PATCH v3] regmap: add iopoll-like atomic polling macro

From: Dmitry Osipenko
Date: Thu Jan 09 2020 - 01:00:26 EST


09.01.2020 08:09, Sameer Pujar ÐÐÑÐÑ:
> This patch adds a macro 'regmap_read_poll_timeout_atomic' that works
> similar to 'readx_poll_timeout_atomic' defined in linux/iopoll.h; This
> is atomic version of already available 'regmap_read_poll_timeout' macro.
>
> It should be noted that above atomic macro cannot be used by all regmaps.
> If the regmap is set up for atomic use (flat or no cache and MMIO) then
> only it can use.
>
> Signed-off-by: Sameer Pujar <spujar@xxxxxxxxxx>
> ---

Could you please explain what is the targeted use-case here?