[linux-sunxi] Re: [PATCH v3 09/14] regmap: add iopoll-like polling macro for regmap_field

2017-10-11 Thread Daniel Vetter
On Wed, Oct 04, 2017 at 11:47:32AM +0100, Mark Brown wrote: > On Fri, Sep 29, 2017 at 04:23:01PM +0800, Chen-Yu Tsai wrote: > > This patch adds a macro regmap_field_read_poll_timeout that works > > similar to the readx_poll_timeout defined in linux/iopoll.h, except > > that this can also return

[linux-sunxi] Re: [PATCH v3 09/14] regmap: add iopoll-like polling macro for regmap_field

2017-10-06 Thread Mark Brown
On Fri, Sep 29, 2017 at 04:23:01PM +0800, Chen-Yu Tsai wrote: > This patch adds a macro regmap_field_read_poll_timeout that works > similar to the readx_poll_timeout defined in linux/iopoll.h, except > that this can also return the error value returned by a failed > regmap_field_read. The