Skip to contentSkip to conversation

ALC285 reduce HP pop noise

PATCH Applied Kailang 2 participants 2 messages Feb 27, 2024 Sound

lore
Share & tools
lore

Kailang

author
#0 lore raw

Hi Takashi,

Lenovo Thinkpad platform with ALC285 which had pop noise from Headphone port on reboot state. Attach patch will reduce it.

BR,
Kailang

From f57207d1b96a342193b826251af41adc79c74f06 Mon Sep 17 00:00:00 2001
From: Kailang Yang <[email protected]>
Date: Fri, 23 Feb 2024 14:54:34 +0800
Subject: [PATCH] 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.

sound/pci/hda/patch_realtek.c +1 -0
index 9f1147af030c..5c0695db5b7c 100644
@@ -3683,6 +3683,7 @@ static void alc285_hp_init(struct hda_codec *codec)
 	int i, val;
 	int coef38, coef0d, coef36;
 
+	alc_write_coefex_idx(codec, 0x58, 0x00, 0x1888); /* write default value */
 	alc_update_coef_idx(codec, 0x4a, 1<<15, 1<<15); /* Reset HP JD */
 	coef38 = alc_read_coef_idx(codec, 0x38); /* Amp control */
 	coef0d = alc_read_coef_idx(codec, 0x0d); /* Digital Misc control */
Applied
#1 lore raw
Quoted 5 lines · Kailang

Hi Takashi,

Lenovo Thinkpad platform with ALC285 which had pop noise from Headphone port on reboot state. Attach patch will reduce it.

Thanks, applied now.

Takashi