drm/dp_mst: Improve kdocs for drm_dp_check_act_status()
authorLyude Paul <lyude@redhat.com>
Fri, 3 Apr 2020 18:11:46 +0000 (14:11 -0400)
committerLyude Paul <lyude@redhat.com>
Thu, 9 Apr 2020 16:07:07 +0000 (12:07 -0400)
No functional changes.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Sean Paul <sean@poorly.run>
Reviewed-by: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20200406221253.1307209-2-lyude@redhat.com
drivers/gpu/drm/drm_dp_mst_topology.c

index 3842336..c6caa0d 100644 (file)
@@ -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)
 {