* [PATCH] ALSA:hda/realtek:ALC269 fixup for Yoga/Legion Mic noise
@ 2026-08-04 12:36 Jackie Dong
2026-08-04 16:09 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Jackie Dong @ 2026-08-04 12:36 UTC (permalink / raw)
To: perex, tiwai, zhangheng, kailang, damien.dagorn29, sean,
chris.chiu, huanglei, dnaim
Cc: linux-sound, linux-kernel, Jackie Dong
Lenovo Yoga Pro 7 15ASH11 and Legion 7 15ASH11 use the same audio
subsystem implementation and support only analog microphone.
Limit Amp-In Vals to 0x00 and 0x01 for the internal microphone to reduce
recording noise. Values 0x02 and 0x03 introduce significant noise on
them.
Signed-off-by: Jackie Dong <xy-jackie@139.com>
---
sound/hda/codecs/realtek/alc269.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index 48a2e7f2ebb1..9ac9971d7873 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -3524,6 +3524,16 @@ static void alc287_fixup_yoga9_14iap7_bass_spk_pin(struct hda_codec *codec,
}
}
+static void alc_fixup_yoga_pro7_audio(struct hda_codec *codec,
+ const struct hda_fixup *fix, int action)
+{
+ /* Reuse the DAC routing selected for ThinkPad X1 Gen7 */
+ alc285_fixup_thinkpad_x1_gen7(codec, fix, action);
+
+ /* Limit the internal mic boost to 0 or 1 to avoid noise */
+ alc269_fixup_limit_int_mic_boost(codec, fix, action);
+}
+
static void alc295_fixup_dell_inspiron_top_speakers(struct hda_codec *codec,
const struct hda_fixup *fix, int action)
{
@@ -6209,8 +6219,7 @@ static const struct hda_fixup alc269_fixups[] = {
},
[ALC287_FIXUP_LENOVO_YOGA_PRO7] = {
.type = HDA_FIXUP_FUNC,
- /* Reuse the DAC routing selected for ThinkPad X1 Gen7 */
- .v.func = alc285_fixup_thinkpad_x1_gen7,
+ .v.func = alc_fixup_yoga_pro7_audio,
.chained = true,
.chain_id = ALC269_FIXUP_LENOVO_XPAD_ACPI,
},
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA:hda/realtek:ALC269 fixup for Yoga/Legion Mic noise
2026-08-04 12:36 [PATCH] ALSA:hda/realtek:ALC269 fixup for Yoga/Legion Mic noise Jackie Dong
@ 2026-08-04 16:09 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-08-04 16:09 UTC (permalink / raw)
To: Jackie Dong
Cc: perex, tiwai, zhangheng, kailang, damien.dagorn29, sean,
chris.chiu, huanglei, dnaim, linux-sound, linux-kernel
On Tue, 04 Aug 2026 14:36:37 +0200,
Jackie Dong wrote:
>
> Lenovo Yoga Pro 7 15ASH11 and Legion 7 15ASH11 use the same audio
> subsystem implementation and support only analog microphone.
>
> Limit Amp-In Vals to 0x00 and 0x01 for the internal microphone to reduce
> recording noise. Values 0x02 and 0x03 introduce significant noise on
> them.
>
> Signed-off-by: Jackie Dong <xy-jackie@139.com>
Applied to for-next branch now. Thanks.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-04 16:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 12:36 [PATCH] ALSA:hda/realtek:ALC269 fixup for Yoga/Legion Mic noise Jackie Dong
2026-08-04 16:09 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox