Skip to content

Commit

Permalink
ALSA: hda - fixup ALC262 to skip depop delay before D3 on Intel Bayle…
Browse files Browse the repository at this point in the history
…yBay

This patch sets a 0ms depop delay in fixup funtion 'alc_fixup_no_depop_delay'.
And Realteck ALC262 applies this on Intel Baytrail BayleyBay platform to reduce
codec suspend time.

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Reviewed-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Mengdong Lin authored and Takashi Iwai committed Dec 3, 2013
1 parent aad730d commit 84d2dc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,10 @@ static void alc_fixup_no_depop_delay(struct hda_codec *codec,
{
struct alc_spec *spec = codec->spec;

if (action == HDA_FIXUP_ACT_PROBE)
if (action == HDA_FIXUP_ACT_PROBE) {
spec->no_depop_delay = 1;
codec->depop_delay = 0;
}
}

static int alc_auto_parse_customize_define(struct hda_codec *codec)
Expand Down

0 comments on commit 84d2dc3

Please sign in to comment.