* [PATCH] ALSA: hda - fixup ALC262 to skip depop delay before D3 on Intel BayleyBay
@ 2013-12-03 3:26 mengdong.lin
2013-12-03 16:45 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: mengdong.lin @ 2013-12-03 3:26 UTC (permalink / raw)
To: alsa-devel, tiwai; +Cc: Mengdong Lin
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>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ALSA: hda - fixup ALC262 to skip depop delay before D3 on Intel BayleyBay
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
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2013-12-03 16:45 UTC (permalink / raw)
To: mengdong.lin; +Cc: alsa-devel
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-03 16:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).