ALSA: hda/realtek - Add eapd shutup to ALC283
authorKailang Yang <kailang@realtek.com>
Tue, 8 Apr 2014 09:14:14 +0000 (17:14 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Apr 2014 09:27:29 +0000 (11:27 +0200)
Add eapd shutup function to alc283_shutup.
It could avoid pop noise from speaker.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 0836a61805a29848e94df0a1089698f0a0014914..0d72dbff7ddaab436a3643b87f271123d4c5aadd 100644 (file)
@@ -3095,6 +3095,7 @@ static void alc283_shutup(struct hda_codec *codec)
 
        if (hp_pin_sense)
                msleep(100);
+       alc_auto_setup_eapd(codec, false);
        snd_hda_shutup_pins(codec);
        alc_write_coef_idx(codec, 0x43, 0x9614);
 }