]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Oct 2024 09:54:36 +0000 (11:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Oct 2024 09:54:36 +0000 (11:54 +0200)
added patches:
alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch

queue-5.10/alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch [new file with mode: 0644]
queue-5.10/series

diff --git a/queue-5.10/alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch b/queue-5.10/alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch
new file mode 100644 (file)
index 0000000..d6c9954
--- /dev/null
@@ -0,0 +1,36 @@
+From 164cd0e077a18d6208523c82b102c98c77fdd51f Mon Sep 17 00:00:00 2001
+From: Vasiliy Kovalev <kovalev@altlinux.org>
+Date: Wed, 16 Oct 2024 11:07:13 +0300
+Subject: ALSA: hda/conexant - Use cached pin control for Node 0x1d on HP EliteOne 1000 G2
+
+From: Vasiliy Kovalev <kovalev@altlinux.org>
+
+commit 164cd0e077a18d6208523c82b102c98c77fdd51f upstream.
+
+The cached version avoids redundant commands to the codec, improving
+stability and reducing unnecessary operations. This change ensures
+better power management and reliable restoration of pin configurations,
+especially after hibernation (S4) and other power transitions.
+
+Fixes: 9988844c457f ("ALSA: hda/conexant - Fix audio routing for HP EliteOne 1000 G2")
+Suggested-by: Kai-Heng Feng <kaihengf@nvidia.com>
+Suggested-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
+Link: https://patch.msgid.link/20241016080713.46801-1-kovalev@altlinux.org
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ sound/pci/hda/patch_conexant.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/sound/pci/hda/patch_conexant.c
++++ b/sound/pci/hda/patch_conexant.c
+@@ -261,7 +261,7 @@ static void cxt_fixup_update_pinctl(stru
+                * This is the value stored in the codec register after
+                * the correct initialization of the previous windows boot.
+                */
+-              snd_hda_set_pin_ctl(codec, 0x1d, AC_PINCTL_HP_EN);
++              snd_hda_set_pin_ctl_cache(codec, 0x1d, AC_PINCTL_HP_EN);
+       }
+ }
index 87dc8e3b40ea4e46f34de42e218b68ae0364f158..e9aaee0717660beb1985958e8110e27647bba4eb 100644 (file)
@@ -49,3 +49,4 @@ mptcp-handle-consistently-dss-corruption.patch
 tcp-fix-mptcp-dss-corruption-due-to-large-pmtu-xmit.patch
 nilfs2-propagate-directory-read-errors-from-nilfs_find_entry.patch
 powerpc-mm-always-update-max-min_low_pfn-in-mem_topology_setup.patch
+alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch