aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp_mst.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp_mst.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c
index 18c65f8e4fe8..352e5216cc65 100644
--- a/drivers/gpu/drm/i915/intel_dp_mst.c
+++ b/drivers/gpu/drm/i915/intel_dp_mst.c
@@ -241,11 +241,8 @@ static void intel_mst_pre_enable_dp(struct intel_encoder *encoder,
241 connector->port, 241 connector->port,
242 pipe_config->pbn, 242 pipe_config->pbn,
243 pipe_config->dp_m_n.tu); 243 pipe_config->dp_m_n.tu);
244 if (ret == false) { 244 if (!ret)
245 DRM_ERROR("failed to allocate vcpi\n"); 245 DRM_ERROR("failed to allocate vcpi\n");
246 return;
247 }
248
249 246
250 intel_dp->active_mst_links++; 247 intel_dp->active_mst_links++;
251 temp = I915_READ(DP_TP_STATUS(port)); 248 temp = I915_READ(DP_TP_STATUS(port));