]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/audio: add audio codec enable debug log for g4x
authorJani Nikula <jani.nikula@intel.com>
Mon, 27 Oct 2014 14:26:58 +0000 (16:26 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:42:18 +0000 (18:42 +0100)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_audio.c

index fa0eecf6a792db0e236ec126f17f0d52169ccf37..c4c036a86d75b28bf77e7197e3a7bf87c1b9d7ae 100644 (file)
@@ -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;