From: Jani Nikula Date: Mon, 27 Oct 2014 14:26:58 +0000 (+0200) Subject: drm/i915/audio: add audio codec enable debug log for g4x X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d5ee08de1bbeac867818c37b5b8413f68c742703;p=openwrt%2Fstaging%2Fblogic.git drm/i915/audio: add audio codec enable debug log for g4x Signed-off-by: Jani Nikula Reviewed-by: Rodrigo Vivi Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_audio.c b/drivers/gpu/drm/i915/intel_audio.c index fa0eecf6a792..c4c036a86d75 100644 --- a/drivers/gpu/drm/i915/intel_audio.c +++ b/drivers/gpu/drm/i915/intel_audio.c @@ -122,6 +122,8 @@ static void g4x_audio_codec_enable(struct drm_connector *connector, uint32_t tmp; int len, i; + DRM_DEBUG_KMS("Enable audio codec, %u bytes ELD\n", eld[2]); + tmp = I915_READ(G4X_AUD_VID_DID); if (tmp == INTEL_AUDIO_DEVBLC || tmp == INTEL_AUDIO_DEVCL) eldv = G4X_ELDV_DEVCL_DEVBLC;