From 84d2dc3e57bea30fb31397861cb97547069b25e4 Mon Sep 17 00:00:00 2001 From: Mengdong Lin Date: Mon, 2 Dec 2013 22:26:03 -0500 Subject: [PATCH] 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: Mengdong Lin Reviewed-by: Kailang Yang Signed-off-by: Takashi Iwai --- sound/pci/hda/patch_realtek.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 537991ccba28..518e6ceeed20 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -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) -- 2.20.1