[Intel-gfx] [PATCH 6/9] drm/i915/dp: Handle check_mst_status() failure in one place
Dhinakaran Pandiyan
dhinakaran.pandiyan at intel.com
Tue Sep 12 23:57:27 UTC 2017
The caller already has code to handle failure, no need to duplicate
that.
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
---
drivers/gpu/drm/i915/intel_dp.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 3f2ca10ccbcd..2886a2ef1591 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -4232,13 +4232,7 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp)
ret = 0;
}
} else {
- struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp);
-
DRM_DEBUG_KMS("failed to get ESI - device may have failed\n");
- intel_dp->is_mst = false;
- drm_dp_mst_topology_mgr_set_mst(&intel_dp->mst_mgr,
- intel_dp->is_mst);
- drm_kms_helper_hotplug_event(intel_dig_port->base.base.dev);
ret = -EINVAL;
}
return ret;
--
2.11.0
More information about the Intel-gfx
mailing list