mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
be8ef16a25
commit
0435b3ffba
1 changed files with 1 additions and 0 deletions
|
@ -3095,6 +3095,7 @@ static void alc283_shutup(struct hda_codec *codec)
|
||||||
|
|
||||||
if (hp_pin_sense)
|
if (hp_pin_sense)
|
||||||
msleep(100);
|
msleep(100);
|
||||||
|
alc_auto_setup_eapd(codec, false);
|
||||||
snd_hda_shutup_pins(codec);
|
snd_hda_shutup_pins(codec);
|
||||||
alc_write_coef_idx(codec, 0x43, 0x9614);
|
alc_write_coef_idx(codec, 0x43, 0x9614);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue