From: Adam Jackson Date: Tue, 12 Jul 2011 21:38:00 +0000 (-0400) Subject: drm/i915/dp: Zero the DPCD data before connection probe X-Git-Tag: v3.1-rc1~22^2~10^2~10^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97cdd7101079adc3c626d159c62d43de949516c8;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git drm/i915/dp: Zero the DPCD data before connection probe Signed-off-by: Adam Jackson Reviewed-by: Keith Packard Signed-off-by: Keith Packard --- diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index e2aced6..de24f31 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -1673,6 +1673,7 @@ intel_dp_detect(struct drm_connector *connector, bool force) struct edid *edid = NULL; intel_dp->has_audio = false; + memset(intel_dp->dpcd, 0, sizeof(intel_dp->dpcd)); if (HAS_PCH_SPLIT(dev)) status = ironlake_dp_detect(intel_dp);