]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.9-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jun 2022 06:55:58 +0000 (08:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jun 2022 06:55:58 +0000 (08:55 +0200)
added patches:
alsa-hda-conexant-fix-loopback-issue-with-cx20632.patch

queue-4.9/alsa-hda-conexant-fix-loopback-issue-with-cx20632.patch [new file with mode: 0644]
queue-4.9/series

diff --git a/queue-4.9/alsa-hda-conexant-fix-loopback-issue-with-cx20632.patch b/queue-4.9/alsa-hda-conexant-fix-loopback-issue-with-cx20632.patch
new file mode 100644 (file)
index 0000000..f16e756
--- /dev/null
@@ -0,0 +1,37 @@
+From d5ea7544c32ba27c2c5826248e4ff58bd50a2518 Mon Sep 17 00:00:00 2001
+From: huangwenhui <huangwenhuia@uniontech.com>
+Date: Tue, 7 Jun 2022 14:56:31 +0800
+Subject: ALSA: hda/conexant - Fix loopback issue with CX20632
+
+From: huangwenhui <huangwenhuia@uniontech.com>
+
+commit d5ea7544c32ba27c2c5826248e4ff58bd50a2518 upstream.
+
+On a machine with CX20632, Alsamixer doesn't have 'Loopback
+Mixing' and 'Line'.
+
+Signed-off-by: huangwenhui <huangwenhuia@uniontech.com>
+Cc: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/20220607065631.10708-1-huangwenhuia@uniontech.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ sound/pci/hda/patch_conexant.c |    7 +++++++
+ 1 file changed, 7 insertions(+)
+
+--- a/sound/pci/hda/patch_conexant.c
++++ b/sound/pci/hda/patch_conexant.c
+@@ -942,6 +942,13 @@ static int patch_conexant_auto(struct hd
+               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;
+               /* Fall through */
index c8559e98c5711b3c739146487bc98a9eeeed9cda..a259f4340917c888b74759bb640410bbb3311483 100644 (file)
@@ -156,3 +156,4 @@ drm-radeon-fix-a-possible-null-pointer-dereference.patch
 modpost-fix-undefined-behavior-of-is_arm_mapping_sym.patch
 nodemask-fix-return-values-to-be-unsigned.patch
 vringh-fix-loop-descriptors-check-in-the-indirect-ca.patch
+alsa-hda-conexant-fix-loopback-issue-with-cx20632.patch