commit | 08188ba8822163922e6b9c600095d21ce02f6a84 | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Wed Jul 06 16:19:41 2016 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri Jul 15 13:44:22 2016 +0100 |
tree | d30bb357aa98e64e4d4991e9efa539c98311e08b | |
parent | 1a695a905c18548062509178b98bc91e67510864 [diff] |
regmap: add iopoll-like polling macro This patch adds a macro regmap_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_read. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>