ALSA: hda/realtek: Fixup ALC225 depop procedure
authorSasha Levin <sashal@kernel.org>
Wed, 12 Feb 2025 06:40:46 +0000 (14:40 +0800)
committerBen Hutchings <benh@debian.org>
Mon, 24 Feb 2025 01:11:58 +0000 (02:11 +0100)
[ Upstream commit 174448badb4409491bfba2e6b46f7aa078741c5e ]

Headset MIC will no function when power_save=0.

Fixes: 1fd50509fe14 ("ALSA: hda/realtek: Update ALC225 depop procedure")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219743
Signed-off-by: Kailang Yang <kailang@realtek.com>
Link: https://lore.kernel.org/0474a095ab0044d0939ec4bf4362423d@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name alsa-hda-realtek-fixup-alc225-depop-procedure.patch

sound/pci/hda/patch_realtek.c

index ca65cf4d218173cdf40832bbeeb7e2e4b7cf4b18..b29b17c1fb14278918b281c1dd79ac938d358888 100644 (file)
@@ -3713,6 +3713,7 @@ static void alc225_init(struct hda_codec *codec)
                                    AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE);
 
                msleep(75);
+               alc_update_coef_idx(codec, 0x4a, 3 << 10, 0);
                alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x4); /* Hight power */
        }
 }