diff options
author | Mengdong Lin <mengdong.lin@intel.com> | 2013-12-02 22:26:03 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-12-03 05:35:43 -0500 |
commit | 84d2dc3e57bea30fb31397861cb97547069b25e4 (patch) | |
tree | bdf203279a9d86705b330b4f0cc9a48ea1973c24 /sound/pci/hda/patch_realtek.c | |
parent | aad730d0704545ad97654bd929b0aba05adb1436 (diff) |
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 <mengdong.lin@intel.com>
Reviewed-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, | |||
374 | { | 374 | { |
375 | struct alc_spec *spec = codec->spec; | 375 | struct alc_spec *spec = codec->spec; |
376 | 376 | ||
377 | if (action == HDA_FIXUP_ACT_PROBE) | 377 | if (action == HDA_FIXUP_ACT_PROBE) { |
378 | spec->no_depop_delay = 1; | 378 | spec->no_depop_delay = 1; |
379 | codec->depop_delay = 0; | ||
380 | } | ||
379 | } | 381 | } |
380 | 382 | ||
381 | static int alc_auto_parse_customize_define(struct hda_codec *codec) | 383 | static int alc_auto_parse_customize_define(struct hda_codec *codec) |