Skip to content

Commit 5627555

Browse files
marmarektiwai
authored andcommitted
ALSA: hda/realtek: extend quirks for Clevo V5[46]0
The mic in those laptops suffers too high gain resulting in mostly (fan or else) noise being recorded. In addition to the existing fixup about mic detection, apply also limiting its boost. While at it, extend the quirk to also V5[46]0TNE models, which have the same issue. Signed-off-by: Marek Marczykowski-Górecki <[email protected]> Cc: <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent e9481d9 commit 5627555

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7638,6 +7638,7 @@ enum {
76387638
ALC287_FIXUP_LENOVO_14ARP8_LEGION_IAH7,
76397639
ALC287_FIXUP_LENOVO_SSID_17AA3820,
76407640
ALCXXX_FIXUP_CS35LXX,
7641+
ALC245_FIXUP_CLEVO_NOISY_MIC,
76417642
};
76427643

76437644
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -9977,6 +9978,12 @@ static const struct hda_fixup alc269_fixups[] = {
99779978
.type = HDA_FIXUP_FUNC,
99789979
.v.func = cs35lxx_autodet_fixup,
99799980
},
9981+
[ALC245_FIXUP_CLEVO_NOISY_MIC] = {
9982+
.type = HDA_FIXUP_FUNC,
9983+
.v.func = alc269_fixup_limit_int_mic_boost,
9984+
.chained = true,
9985+
.chain_id = ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE,
9986+
},
99809987
};
99819988

99829989
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -10626,7 +10633,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
1062610633
SND_PCI_QUIRK(0x1558, 0xa600, "Clevo NL50NU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
1062710634
SND_PCI_QUIRK(0x1558, 0xa650, "Clevo NP[567]0SN[CD]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
1062810635
SND_PCI_QUIRK(0x1558, 0xa671, "Clevo NP70SN[CDE]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
10629-
SND_PCI_QUIRK(0x1558, 0xa763, "Clevo V54x_6x_TU", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
10636+
SND_PCI_QUIRK(0x1558, 0xa741, "Clevo V54x_6x_TNE", ALC245_FIXUP_CLEVO_NOISY_MIC),
10637+
SND_PCI_QUIRK(0x1558, 0xa763, "Clevo V54x_6x_TU", ALC245_FIXUP_CLEVO_NOISY_MIC),
1063010638
SND_PCI_QUIRK(0x1558, 0xb018, "Clevo NP50D[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
1063110639
SND_PCI_QUIRK(0x1558, 0xb019, "Clevo NH77D[BE]Q", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
1063210640
SND_PCI_QUIRK(0x1558, 0xb022, "Clevo NH77D[DC][QW]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),

0 commit comments

Comments
 (0)