Skip to content

Commit

Permalink
ALSA: hda - skip depop delay before D3 for Haswell and Valleyview2 di…
Browse files Browse the repository at this point in the history
…splay codec

This patch skips the default depop delay before D3 for Haswell (10 ms) and
Valleyview2 (100 ms) display codec, to reduce codec suspend time.

The analog part of display audio is implemented in the external display. Some
displays have weak pop noise while others not when suspending, no matter there
is the default delay or not.

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Mengdong Lin authored and Takashi Iwai committed Dec 6, 2013
1 parent f4d6a55 commit 5b8620b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sound/pci/hda/patch_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2247,6 +2247,10 @@ static int patch_generic_hdmi(struct hda_codec *codec)
intel_haswell_fixup_enable_dp12(codec);
}

if (is_haswell(codec) || is_valleyview(codec)) {
codec->depop_delay = 0;
}

if (hdmi_parse_codec(codec) < 0) {
codec->spec = NULL;
kfree(spec);
Expand Down

0 comments on commit 5b8620b

Please sign in to comment.