Skip to content

Commit b34bf65

Browse files
KailangYangtiwai
authored andcommitted
ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port
It had pop noise from Headphone port when system reboot state. If NID 58h Index 0x0 to fill default value, it will reduce pop noise. Signed-off-by: Kailang Yang <kailang@realtek.com> Link: https://lore.kernel.org/r/7493e207919a4fb3a0599324fd010e3e@realtek.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 0ac32a3 commit b34bf65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3684,6 +3684,7 @@ static void alc285_hp_init(struct hda_codec *codec)
36843684
int i, val;
36853685
int coef38, coef0d, coef36;
36863686

3687+
alc_write_coefex_idx(codec, 0x58, 0x00, 0x1888); /* write default value */
36873688
alc_update_coef_idx(codec, 0x4a, 1<<15, 1<<15); /* Reset HP JD */
36883689
coef38 = alc_read_coef_idx(codec, 0x38); /* Amp control */
36893690
coef0d = alc_read_coef_idx(codec, 0x0d); /* Digital Misc control */

0 commit comments

Comments
 (0)