]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ALSA: hda: conexant: Remove mic bias threshold override
authorZhang Heng <zhangheng@kylinos.cn>
Mon, 13 Jul 2026 10:03:29 +0000 (18:03 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Jul 2026 15:04:33 +0000 (17:04 +0200)
Remove the mic bias current comparator threshold override (NID 0x1c,
verb 0x320, value 0x010) from Conexant codec driver.

This override was originally intended to support volume up/down controls on
headsets with inline remote controls, but it causes microphone detection
failures on some headsets with impedance less than 1k ohm.

After consulting with the vendor's engineers, it was confirmed that this
setting is board-specific and should be handled by BIOS/firmware rather
than the generic codec driver, especially since inline remote support
is not currently implemented.

Fixes: 7aeb25908648 ("ALSA: hda/conexant: Fix headset auto detect fail in cx8070 and SN6140")
Cc: stable@vger.kernel.org
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
Link: https://patch.msgid.link/20260713100329.306892-1-zhangheng@kylinos.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/conexant.c

index 3d92262763f62c4f15aa1df99fbf3a23b3f0c41b..40da2832ba6648556368281b833641e86ea0c7fb 100644 (file)
@@ -162,9 +162,6 @@ static void cx_fixup_headset_recog(struct hda_codec *codec)
 {
        unsigned int mic_present;
 
-       /* fix some headset type recognize fail issue, such as EDIFIER headset */
-       /* set micbias output current comparator threshold from 66% to 55%. */
-       snd_hda_codec_write(codec, 0x1c, 0, 0x320, 0x010);
        /* set OFF voltage for DFET from -1.2V to -0.8V, set headset micbias register
         * value adjustment trim from 2.2K ohms to 2.0K ohms.
         */