aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com>2014-04-08 05:14:14 -0400
committerTakashi Iwai <tiwai@suse.de>2014-04-08 05:27:29 -0400
commit0435b3ffbaa67cded10c25e4a43404a611a7ebb5 (patch)
treea05f045b84a7aaf4eb4aa2fac7ae25cf65633c48 /sound/pci
parentbe8ef16a2508d12f4e2faa0933d1ffd02bf49f60 (diff)
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 <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_realtek.c1
1 files changed, 1 insertions, 0 deletions
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)
3095 3095
3096 if (hp_pin_sense) 3096 if (hp_pin_sense)
3097 msleep(100); 3097 msleep(100);
3098 alc_auto_setup_eapd(codec, false);
3098 snd_hda_shutup_pins(codec); 3099 snd_hda_shutup_pins(codec);
3099 alc_write_coef_idx(codec, 0x43, 0x9614); 3100 alc_write_coef_idx(codec, 0x43, 0x9614);
3100} 3101}