Skip to content

Commit 5ebe792

Browse files
desikumar81tiwai
authored andcommitted
ALSA: hda/realtek: Fix Internal Speaker and Mic boost of Infinix Y4 Max
Internal Speaker of Infinix Y4 Max remains muted due to incorrect Pin configuration, and the Internal Mic records high noise. This patch corrects the Pin configuration for the Internal Speaker and limits the Internal Mic boost. HW Probe for device: https://linux-hardware.org/?probe=6d4386c347 Test: Internal Speaker works fine, Mic has low noise. Signed-off-by: Dinesh Kumar <[email protected]> Cc: <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 9d5ce1a commit 5ebe792

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7555,6 +7555,7 @@ enum {
75557555
ALC269_FIXUP_THINKPAD_ACPI,
75567556
ALC269_FIXUP_DMIC_THINKPAD_ACPI,
75577557
ALC269VB_FIXUP_INFINIX_ZERO_BOOK_13,
7558+
ALC269VC_FIXUP_INFINIX_Y4_MAX,
75587559
ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO,
75597560
ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
75607561
ALC255_FIXUP_ASUS_MIC_NO_PRESENCE,
@@ -7941,6 +7942,15 @@ static const struct hda_fixup alc269_fixups[] = {
79417942
.chained = true,
79427943
.chain_id = ALC269_FIXUP_LIMIT_INT_MIC_BOOST
79437944
},
7945+
[ALC269VC_FIXUP_INFINIX_Y4_MAX] = {
7946+
.type = HDA_FIXUP_PINS,
7947+
.v.pins = (const struct hda_pintbl[]) {
7948+
{ 0x1b, 0x90170150 }, /* use as internal speaker */
7949+
{ }
7950+
},
7951+
.chained = true,
7952+
.chain_id = ALC269_FIXUP_LIMIT_INT_MIC_BOOST
7953+
},
79447954
[ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO] = {
79457955
.type = HDA_FIXUP_PINS,
79467956
.v.pins = (const struct hda_pintbl[]) {
@@ -10939,6 +10949,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
1093910949
SND_PCI_QUIRK(0x2782, 0x0214, "VAIO VJFE-CL", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
1094010950
SND_PCI_QUIRK(0x2782, 0x0228, "Infinix ZERO BOOK 13", ALC269VB_FIXUP_INFINIX_ZERO_BOOK_13),
1094110951
SND_PCI_QUIRK(0x2782, 0x0232, "CHUWI CoreBook XPro", ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO),
10952+
SND_PCI_QUIRK(0x2782, 0x1701, "Infinix Y4 Max", ALC269VC_FIXUP_INFINIX_Y4_MAX),
1094210953
SND_PCI_QUIRK(0x2782, 0x1707, "Vaio VJFE-ADL", ALC298_FIXUP_SPK_VOLUME),
1094310954
SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
1094410955
SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),

0 commit comments

Comments
 (0)