From 0435b3ffbaa67cded10c25e4a43404a611a7ebb5 Mon Sep 17 00:00:00 2001 From: Kailang Yang Date: Tue, 8 Apr 2014 17:14:14 +0800 Subject: [PATCH] ALSA: hda/realtek - Add eapd shutup to ALC283 Add eapd shutup function to alc283_shutup. It could avoid pop noise from speaker. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 0836a61805a2..0d72dbff7dda 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -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); }