summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap
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 14:44:22 +0200
commit08188ba8822163922e6b9c600095d21ce02f6a84 (patch)
treed30bb357aa98e64e4d4991e9efa539c98311e08b /drivers/base/regmap
parentLinux 4.7-rc1 (diff)
downloadlinux-08188ba8822163922e6b9c600095d21ce02f6a84.tar.xz
linux-08188ba8822163922e6b9c600095d21ce02f6a84.zip
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/regmap')
0 files changed, 0 insertions, 0 deletions