commit | 667063acb81931e2f8fd0cb91df9fcccad131d9a | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Fri Sep 29 16:23:01 2017 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Oct 04 11:46:32 2017 +0100 |
tree | f1532a383fdecb60c40673771c29765562676d05 | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e [diff] |
regmap: add iopoll-like polling macro for regmap_field 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. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Mark Brown <broonie@kernel.org>