summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/drm_dp_mst_topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c
index ed1850d59c7c..9b98de9fad5f 100644
--- a/drivers/gpu/drm/drm_dp_mst_topology.c
+++ b/drivers/gpu/drm/drm_dp_mst_topology.c
@@ -1055,7 +1055,7 @@ static void drm_dp_add_port(struct drm_dp_mst_branch *mstb,
if (created) {
mutex_lock(&mstb->mgr->lock);
kref_get(&port->kref);
- list_add(&port->next, &mstb->ports);
+ list_add_tail(&port->next, &mstb->ports);
mutex_unlock(&mstb->mgr->lock);
}