aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com>2014-04-08 17:14:14 +0800
committerTakashi Iwai <tiwai@suse.de>2014-04-08 11:27:29 +0200
commit0435b3ffbaa67cded10c25e4a43404a611a7ebb5 (patch)
treea05f045b84a7aaf4eb4aa2fac7ae25cf65633c48 /sound
parentALSA: hda/realtek - Change model name alias for ChromeOS (diff)
downloadlinux-dev-0435b3ffbaa67cded10c25e4a43404a611a7ebb5.tar.xz
linux-dev-0435b3ffbaa67cded10c25e4a43404a611a7ebb5.zip
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')
-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)
if (hp_pin_sense)
msleep(100);
+ alc_auto_setup_eapd(codec, false);
snd_hda_shutup_pins(codec);
alc_write_coef_idx(codec, 0x43, 0x9614);
}