aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-09-29 16:23:01 +0800
committerMark Brown <broonie@kernel.org>2017-10-04 11:46:32 +0100
commit667063acb81931e2f8fd0cb91df9fcccad131d9a (patch)
treef1532a383fdecb60c40673771c29765562676d05 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions