summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-07-02 13:15:18 +1000
committerDave Airlie <airlied@redhat.com>2014-07-02 13:16:16 +1000
commit67785927796b040bad738d2c56d3b3dc01111f5f (patch)
tree2bd5b1770f76fe4f38f2c2c67d0aa33e4135861f
parent5059318ef80750e7220c85452a7685ac1a001bc8 (diff)
add ports at tailmst-hacks
-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);
}