linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda/conexant - Fix loopback issue with CX20632
@ 2022-06-07  6:56 huangwenhui
  2022-06-07  9:32 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: huangwenhui @ 2022-06-07  6:56 UTC (permalink / raw)
  To: tiwai, perex; +Cc: alsa-devel, linux-kernel, huangwenhui

On a machine with CX20632,Alsamixer doesn't have 'Loopback
Mixing' and 'Line'.

Signed-off-by: huangwenhui <huangwenhuia@uniontech.com>
---
 sound/pci/hda/patch_conexant.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index aa360a0af284..1248d1a51cf0 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -1052,6 +1052,13 @@ static int patch_conexant_auto(struct hda_codec *codec)
 		snd_hda_pick_fixup(codec, cxt5051_fixup_models,
 				   cxt5051_fixups, cxt_fixups);
 		break;
+	case 0x14f15098:
+		codec->pin_amp_workaround = 1;
+		spec->gen.mixer_nid = 0x22;
+		spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO;
+		snd_hda_pick_fixup(codec, cxt5066_fixup_models,
+				   cxt5066_fixups, cxt_fixups);
+		break;
 	case 0x14f150f2:
 		codec->power_save_node = 1;
 		fallthrough;
-- 
2.20.1




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

* Re: [PATCH] ALSA: hda/conexant - Fix loopback issue with CX20632
  2022-06-07  6:56 [PATCH] ALSA: hda/conexant - Fix loopback issue with CX20632 huangwenhui
@ 2022-06-07  9:32 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2022-06-07  9:32 UTC (permalink / raw)
  To: huangwenhui; +Cc: tiwai, perex, alsa-devel, linux-kernel

On Tue, 07 Jun 2022 08:56:31 +0200,
huangwenhui wrote:
> 
> On a machine with CX20632,Alsamixer doesn't have 'Loopback
> Mixing' and 'Line'.
> 
> Signed-off-by: huangwenhui <huangwenhuia@uniontech.com>

Thanks, applied.


Takashi

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

end of thread, other threads:[~2022-06-07  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07  6:56 [PATCH] ALSA: hda/conexant - Fix loopback issue with CX20632 huangwenhui
2022-06-07  9:32 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).