diff options
author | 2019-04-26 16:35:41 +0800 | |
---|---|---|
committer | 2019-04-28 08:23:53 +0200 | |
commit | 607ca3bd220f4022e6f5356026b19dafc363863a (patch) | |
tree | cd60f2460b42a6b90b5a99afbff82ecd1d4fe391 /sound | |
parent | ALSA: usb-audio: Handle the error from snd_usb_mixer_apply_create_quirk() (diff) | |
download | linux-607ca3bd220f.tar.gz linux-607ca3bd220f.tar.bz2 linux-607ca3bd220f.zip |
ALSA: hda/realtek - EAPD turn on later
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 810479766090..674ddff65bef 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -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; |