Commit 84d2dc3e authored by Mengdong Lin's avatar Mengdong Lin Committed by Takashi Iwai

ALSA: hda - fixup ALC262 to skip depop delay before D3 on Intel BayleyBay

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: default avatarMengdong Lin <mengdong.lin@intel.com>
Reviewed-by: default avatarKailang Yang <kailang@realtek.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent aad730d0
...@@ -374,8 +374,10 @@ static void alc_fixup_no_depop_delay(struct hda_codec *codec, ...@@ -374,8 +374,10 @@ static void alc_fixup_no_depop_delay(struct hda_codec *codec,
{ {
struct alc_spec *spec = codec->spec; struct alc_spec *spec = codec->spec;
if (action == HDA_FIXUP_ACT_PROBE) if (action == HDA_FIXUP_ACT_PROBE) {
spec->no_depop_delay = 1; spec->no_depop_delay = 1;
codec->depop_delay = 0;
}
} }
static int alc_auto_parse_customize_define(struct hda_codec *codec) static int alc_auto_parse_customize_define(struct hda_codec *codec)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment