From: Lyude Paul Date: Fri, 3 Apr 2020 18:11:46 +0000 (-0400) Subject: drm/dp_mst: Improve kdocs for drm_dp_check_act_status() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=17e03aa8cc16e3d43848fb459f0435372f1c5b9b;p=linux.git drm/dp_mst: Improve kdocs for drm_dp_check_act_status() No functional changes. Signed-off-by: Lyude Paul Cc: Sean Paul Reviewed-by: Sean Paul Link: https://patchwork.freedesktop.org/patch/msgid/20200406221253.1307209-2-lyude@redhat.com --- diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index 3842336f63a52..c6caa0d604aec 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c @@ -4440,10 +4440,14 @@ fail: /** - * drm_dp_check_act_status() - Check ACT handled status. + * drm_dp_check_act_status() - Polls for ACT handled status. * @mgr: manager to use * - * Check the payload status bits in the DPCD for ACT handled completion. + * Tries waiting for the MST hub to finish updating it's payload table by + * polling for the ACT handled bit. + * + * Returns: + * 0 if the ACT was handled in time, negative error code on failure. */ int drm_dp_check_act_status(struct drm_dp_mst_topology_mgr *mgr) {