diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-09-29 11:23:01 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-04 13:46:32 +0300 |
commit | 667063acb81931e2f8fd0cb91df9fcccad131d9a (patch) | |
tree | f1532a383fdecb60c40673771c29765562676d05 /drivers/fpga/fpga-mgr.c | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) | |
download | linux-667063acb81931e2f8fd0cb91df9fcccad131d9a.tar.xz |
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>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions