public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack
@ 2024-03-28 10:27 Werner Sembach
  2024-03-28 12:41 ` Werner Sembach
  2024-03-28 13:25 ` Takashi Iwai
  0 siblings, 2 replies; 3+ messages in thread
From: Werner Sembach @ 2024-03-28 10:27 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: Christoffer Sandberg, Werner Sembach, linux-sound, linux-kernel

From: Christoffer Sandberg <cs@tuxedo.de>

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 <cs@tuxedo.de>
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack
  2024-03-28 10:27 [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack Werner Sembach
@ 2024-03-28 12:41 ` Werner Sembach
  2024-03-28 13:25 ` Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: Werner Sembach @ 2024-03-28 12:41 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: Christoffer Sandberg, linux-sound, linux-kernel

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 <cs@tuxedo.de>
>
> 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 <cs@tuxedo.de>
> Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
> ---
>   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),

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack
  2024-03-28 10:27 [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack Werner Sembach
  2024-03-28 12:41 ` Werner Sembach
@ 2024-03-28 13:25 ` Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2024-03-28 13:25 UTC (permalink / raw)
  To: Werner Sembach
  Cc: Jaroslav Kysela, Takashi Iwai, Christoffer Sandberg, linux-sound,
	linux-kernel

On Thu, 28 Mar 2024 11:27:57 +0100,
Werner Sembach wrote:
> 
> From: Christoffer Sandberg <cs@tuxedo.de>
> 
> 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 <cs@tuxedo.de>
> Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>

Applied now with Cc-to-stable.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-28 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-28 10:27 [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack Werner Sembach
2024-03-28 12:41 ` Werner Sembach
2024-03-28 13:25 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox