diff mbox

[1/2] ALSA: hda/hdmi - set depop_delay for haswell plus

Message ID 1408436412-139667-1-git-send-email-libin.yang@intel.com (mailing list archive)
State Accepted
Commit d35f64e748e7752a5a60b1c7798cece51d19a213
Delegated to: Takashi Iwai
Headers show

Commit Message

Yang, Libin Aug. 19, 2014, 8:20 a.m. UTC
From: Libin Yang <libin.yang@intel.com>

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>
---
 sound/pci/hda/patch_hdmi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Takashi Iwai Aug. 19, 2014, 8:37 a.m. UTC | #1
At Tue, 19 Aug 2014 16:20:11 +0800,
libin.yang@intel.com wrote:
> 
> From: Libin Yang <libin.yang@intel.com>
> 
> 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>

Applied both patches now.  Thanks.


Takashi


> ---
>  sound/pci/hda/patch_hdmi.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
> index 36badba..5e229f7 100644
> --- a/sound/pci/hda/patch_hdmi.c
> +++ b/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);
>  	}
>  
> -	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;
> -- 
> 1.9.1
>
diff mbox

Patch

diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 36badba..5e229f7 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/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);
 	}
 
-	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;