2024-03-28 10:30:05

by Werner Sembach

[permalink] [raw]
Subject: [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack

From: Christoffer Sandberg <[email protected]>

This patch adds the existing fixup to certain TF platforms implementing
the ALC274 codec with a headset jack. It fixes/activates the inactive
microphone of the headset.

Signed-off-by: Christoffer Sandberg <[email protected]>
Signed-off-by: Werner Sembach <[email protected]>
---
sound/pci/hda/patch_realtek.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index a1facdb98d9a0..3b75934ee62c1 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -10365,6 +10365,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1d05, 0x1147, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP),
SND_PCI_QUIRK(0x1d05, 0x115c, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP),
SND_PCI_QUIRK(0x1d05, 0x121b, "TongFang GMxAGxx", ALC269_FIXUP_NO_SHUTUP),
+ SND_PCI_QUIRK(0x1d05, 0x1387, "TongFang GMxIXxx", ALC2XX_FIXUP_HEADSET_MIC),
SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
--
2.34.1



2024-03-28 12:47:10

by Werner Sembach

[permalink] [raw]
Subject: Re: [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack

Hi all,

Forgot to add cc stable

@Takashi can you do that on merge?

Kind Regards,

Werner

Am 28.03.24 um 11:27 schrieb Werner Sembach:
> From: Christoffer Sandberg <[email protected]>
>
> This patch adds the existing fixup to certain TF platforms implementing
> the ALC274 codec with a headset jack. It fixes/activates the inactive
> microphone of the headset.
>
> Signed-off-by: Christoffer Sandberg <[email protected]>
> Signed-off-by: Werner Sembach <[email protected]>
> ---
> sound/pci/hda/patch_realtek.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index a1facdb98d9a0..3b75934ee62c1 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -10365,6 +10365,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
> SND_PCI_QUIRK(0x1d05, 0x1147, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP),
> SND_PCI_QUIRK(0x1d05, 0x115c, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP),
> SND_PCI_QUIRK(0x1d05, 0x121b, "TongFang GMxAGxx", ALC269_FIXUP_NO_SHUTUP),
> + SND_PCI_QUIRK(0x1d05, 0x1387, "TongFang GMxIXxx", ALC2XX_FIXUP_HEADSET_MIC),
> SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
> SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
> SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),

2024-03-28 13:26:04

by Takashi Iwai

[permalink] [raw]
Subject: Re: [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack

On Thu, 28 Mar 2024 11:27:57 +0100,
Werner Sembach wrote:
>
> From: Christoffer Sandberg <[email protected]>
>
> This patch adds the existing fixup to certain TF platforms implementing
> the ALC274 codec with a headset jack. It fixes/activates the inactive
> microphone of the headset.
>
> Signed-off-by: Christoffer Sandberg <[email protected]>
> Signed-off-by: Werner Sembach <[email protected]>

Applied now with Cc-to-stable. Thanks.


Takashi