All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda: conexant: Remove mic bias threshold override
@ 2026-07-13 10:03 Zhang Heng
  2026-07-13 15:04 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang Heng @ 2026-07-13 10:03 UTC (permalink / raw)
  To: perex, tiwai, bo.liu; +Cc: linux-sound, linux-kernel, Zhang Heng, stable

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>
---
 sound/hda/codecs/conexant.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sound/hda/codecs/conexant.c b/sound/hda/codecs/conexant.c
index 3d92262763f6..40da2832ba66 100644
--- a/sound/hda/codecs/conexant.c
+++ b/sound/hda/codecs/conexant.c
@@ -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.
 	 */
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: hda: conexant: Remove mic bias threshold override
  2026-07-13 10:03 [PATCH] ALSA: hda: conexant: Remove mic bias threshold override Zhang Heng
@ 2026-07-13 15:04 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-07-13 15:04 UTC (permalink / raw)
  To: Zhang Heng; +Cc: perex, tiwai, bo.liu, linux-sound, linux-kernel, stable

On Mon, 13 Jul 2026 12:03:29 +0200,
Zhang Heng wrote:
> 
> 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>

Applied now.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-13 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-13 10:03 [PATCH] ALSA: hda: conexant: Remove mic bias threshold override Zhang Heng
2026-07-13 15:04 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.