[alsa-devel] EAPD trun on time

Kailang kailang at realtek.com
Wed Apr 17 05:15:54 CEST 2019


Hi Takashi,

Our AE told me, that EAPD turn on timing which need to set pin out first.
It's the safe application. It could avoid pop noise via speaker.

So, could I do the modify as below patch.

BR,
Kailang

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 810479766090..efcd21b8e0d7 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -804,9 +804,8 @@ static int alc_init(struct hda_codec *codec)
 		spec->init_hook(codec);
 
 	alc_fix_pll(codec);
-	alc_auto_init_amp(codec, spec->init_amp);
-
 	snd_hda_gen_init(codec);
+	alc_auto_init_amp(codec, spec->init_amp);
 
 	snd_hda_apply_fixup(codec, HDA_FIXUP_ACT_INIT);


More information about the Alsa-devel mailing list