alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: mengdong.lin@intel.com
Cc: alsa-devel@alsa-project.org
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	[thread overview]
Message-ID: <s5hob4x6fya.wl%tiwai@suse.de> (raw)
In-Reply-To: <b68db73f280c79fe67eb102a4b9fb0b145c3c149.1386040680.git.mengdong.lin@intel.com>

At Mon,  2 Dec 2013 22:26:03 -0500,
mengdong.lin@intel.com wrote:
> 
> From: Mengdong Lin <mengdong.lin@intel.com>
> 
> 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>

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
> 

      reply	other threads:[~2013-12-03 16:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03  3:26 [PATCH] ALSA: hda - fixup ALC262 to skip depop delay before D3 on Intel BayleyBay mengdong.lin
2013-12-03 16:45 ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hob4x6fya.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=mengdong.lin@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).