Selaa lähdekoodia

ALSA: hda/hdmi - set depop_delay for haswell plus

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>
Libin Yang 11 vuotta sitten
vanhempi
commit
d35f64e748
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      sound/pci/hda/patch_hdmi.c

+ 1 - 2
sound/pci/hda/patch_hdmi.c

@@ -2330,9 +2330,8 @@ static int patch_generic_hdmi(struct hda_codec *codec)
 		intel_haswell_fixup_enable_dp12(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;
 		codec->depop_delay = 0;
-	}
 
 
 	if (hdmi_parse_codec(codec) < 0) {
 	if (hdmi_parse_codec(codec) < 0) {
 		codec->spec = NULL;
 		codec->spec = NULL;