From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda - fixup ALC262 to skip depop delay before D3 on Intel BayleyBay Date: Tue, 03 Dec 2013 17:45:49 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 1063D265200 for ; Tue, 3 Dec 2013 17:45:50 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: mengdong.lin@intel.com Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 2 Dec 2013 22:26:03 -0500, mengdong.lin@intel.com wrote: > > From: Mengdong Lin > > 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 Thanks, applied. Takashi > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > index 21dcb7b..69f11e2 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) > -- > 1.8.1.2 >