ALSA: hda/hdmi - set depop_delay for haswell plus
authorLibin Yang <libin.yang@intel.com>
Tue, 19 Aug 2014 08:20:11 +0000 (16:20 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 19 Aug 2014 08:24:37 +0000 (10:24 +0200)
Both Haswell and Broadwell need set depop_delay to 0. So apply this
setting to haswell plus.

Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c

index 36badba2dcec8bde02b67229e4bb8bcd1a3ad3fb..5e229f7eaf242b7829217e566e669dac0c993127 100644 (file)
@@ -2330,9 +2330,8 @@ static int patch_generic_hdmi(struct hda_codec *codec)
                intel_haswell_fixup_enable_dp12(codec);
        }
 
-       if (is_haswell(codec) || is_valleyview(codec)) {
+       if (is_haswell_plus(codec) || is_valleyview(codec))
                codec->depop_delay = 0;
-       }
 
        if (hdmi_parse_codec(codec) < 0) {
                codec->spec = NULL;