From: Daniel Vetter Date: Fri, 26 Oct 2012 08:58:11 +0000 (+0200) Subject: drm/i915: shut up spurious message in intel_dp_get_hw_state X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a0833ec48d3411042c0ccee3daec1cbca4c1999;p=linux-beck.git drm/i915: shut up spurious message in intel_dp_get_hw_state The debug message is only relevant on CPT/PPT PCH ports, so move it into the correct if clause. Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 1e9d923be701..79a5181f63e3 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -1327,9 +1327,10 @@ static bool intel_dp_get_hw_state(struct intel_encoder *encoder, return true; } } - } - DRM_DEBUG_KMS("No pipe for dp port 0x%x found\n", intel_dp->output_reg); + DRM_DEBUG_KMS("No pipe for dp port 0x%x found\n", + intel_dp->output_reg); + } return true; }