]> git.ipfire.org Git - thirdparty/linux.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)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Feb 2025 07:24:58 +0000 (08:24 +0100)
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>
sound/pci/hda/patch_realtek.c

index ae0beb52e7b0cb645127ec11640c32494b5e54cd..224616fbec4fad7af0b8313c3703929193b8d0cb 100644 (file)
@@ -3788,6 +3788,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 */
        }
 }