Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <desikumar81@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20241125092842.13208-1-desikumar81@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Dinesh Kumar and committed by
Takashi Iwai
5ebe792a 9d5ce1aa

+11
+11
sound/pci/hda/patch_realtek.c
··· 7555 7555 ALC269_FIXUP_THINKPAD_ACPI, 7556 7556 ALC269_FIXUP_DMIC_THINKPAD_ACPI, 7557 7557 ALC269VB_FIXUP_INFINIX_ZERO_BOOK_13, 7558 + ALC269VC_FIXUP_INFINIX_Y4_MAX, 7558 7559 ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO, 7559 7560 ALC255_FIXUP_ACER_MIC_NO_PRESENCE, 7560 7561 ALC255_FIXUP_ASUS_MIC_NO_PRESENCE, ··· 7937 7936 .v.pins = (const struct hda_pintbl[]) { 7938 7937 { 0x14, 0x90170151 }, /* use as internal speaker (LFE) */ 7939 7938 { 0x1b, 0x90170152 }, /* use as internal speaker (back) */ 7939 + { } 7940 + }, 7941 + .chained = true, 7942 + .chain_id = ALC269_FIXUP_LIMIT_INT_MIC_BOOST 7943 + }, 7944 + [ALC269VC_FIXUP_INFINIX_Y4_MAX] = { 7945 + .type = HDA_FIXUP_PINS, 7946 + .v.pins = (const struct hda_pintbl[]) { 7947 + { 0x1b, 0x90170150 }, /* use as internal speaker */ 7940 7948 { } 7941 7949 }, 7942 7950 .chained = true, ··· 10949 10939 SND_PCI_QUIRK(0x2782, 0x0214, "VAIO VJFE-CL", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), 10950 10940 SND_PCI_QUIRK(0x2782, 0x0228, "Infinix ZERO BOOK 13", ALC269VB_FIXUP_INFINIX_ZERO_BOOK_13), 10951 10941 SND_PCI_QUIRK(0x2782, 0x0232, "CHUWI CoreBook XPro", ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO), 10942 + SND_PCI_QUIRK(0x2782, 0x1701, "Infinix Y4 Max", ALC269VC_FIXUP_INFINIX_Y4_MAX), 10952 10943 SND_PCI_QUIRK(0x2782, 0x1707, "Vaio VJFE-ADL", ALC298_FIXUP_SPK_VOLUME), 10953 10944 SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC), 10954 10945 SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),