]> 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:47:28 +0000 (12:47 +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 2df73f59aea91aa6abc8d10a0e0cee8c10fce452..18730b0934fe15a8825f5087035691e392a6281a 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 */
        }
 }