summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-07-06 16:19:41 +0200
committerMark Brown <broonie@kernel.org>2016-07-15 13:44:22 +0100
commit08188ba8822163922e6b9c600095d21ce02f6a84 (patch)
treed30bb357aa98e64e4d4991e9efa539c98311e08b /drivers/base
parent1a695a905c18548062509178b98bc91e67510864 (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>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions