Skip to content

Commit

Permalink
ALSA: hda/realtek - EAPD turn on later
Browse files Browse the repository at this point in the history
Let EAPD turn on after set pin output.

[ NOTE: This change is supposed to reduce the possible click noises at
  (runtime) PM resume.  The functionality should be same (i.e. the
  verbs are executed correctly) no matter which order is, so this
  should be safe to apply for all codecs -- tiwai ]

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Kailang Yang authored and Takashi Iwai committed Apr 28, 2019
1 parent 328e9f6 commit 607ca3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,11 +803,10 @@ static int alc_init(struct hda_codec *codec)
if (spec->init_hook)
spec->init_hook(codec);

snd_hda_gen_init(codec);
alc_fix_pll(codec);
alc_auto_init_amp(codec, spec->init_amp);

snd_hda_gen_init(codec);

snd_hda_apply_fixup(codec, HDA_FIXUP_ACT_INIT);

return 0;
Expand Down

0 comments on commit 607ca3b

Please sign in to comment.