]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: hda/realtek: Fixup ALC225 depop procedure
authorKailang Yang <kailang@realtek.com>
Wed, 12 Feb 2025 06:40:46 +0000 (14:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:50:51 +0000 (12:50 +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>
sound/pci/hda/patch_realtek.c

index bf88deb1ae950b67f10d62946981867d1e0d535e..bc4a2c7fff4ef59d2439b183c40e06bf5bf9337f 100644 (file)
@@ -3770,6 +3770,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 */
        }
 }