aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/radeon/radeon_dp_mst.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_dp_mst.c b/drivers/gpu/drm/radeon/radeon_dp_mst.c
index 1017338a49d9..2b98ed3e684d 100644
--- a/drivers/gpu/drm/radeon/radeon_dp_mst.c
+++ b/drivers/gpu/drm/radeon/radeon_dp_mst.c
@@ -666,6 +666,9 @@ radeon_dp_mst_probe(struct radeon_connector *radeon_connector)
666 int ret; 666 int ret;
667 u8 msg[1]; 667 u8 msg[1];
668 668
669 if (!radeon_mst)
670 return 0;
671
669 if (dig_connector->dpcd[DP_DPCD_REV] < 0x12) 672 if (dig_connector->dpcd[DP_DPCD_REV] < 0x12)
670 return 0; 673 return 0;
671 674