From: Greg Kroah-Hartman Date: Mon, 21 Oct 2024 09:55:03 +0000 (+0200) Subject: 6.1-stable patches X-Git-Tag: v5.10.228~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b0b3c1614ddb4f368a4ec7eed2857f2996b1a14b;p=thirdparty%2Fkernel%2Fstable-queue.git 6.1-stable patches added patches: alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch --- diff --git a/queue-6.1/alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch b/queue-6.1/alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch new file mode 100644 index 00000000000..a105370d7c6 --- /dev/null +++ b/queue-6.1/alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch @@ -0,0 +1,36 @@ +From 164cd0e077a18d6208523c82b102c98c77fdd51f Mon Sep 17 00:00:00 2001 +From: Vasiliy Kovalev +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 + +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 +Suggested-by: Takashi Iwai +Signed-off-by: Vasiliy Kovalev +Link: https://patch.msgid.link/20241016080713.46801-1-kovalev@altlinux.org +Signed-off-by: Takashi Iwai +Signed-off-by: Greg Kroah-Hartman +--- + 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 +@@ -334,7 +334,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); + } + } + diff --git a/queue-6.1/series b/queue-6.1/series index c6bc0d0a6dd..91e4bf95181 100644 --- a/queue-6.1/series +++ b/queue-6.1/series @@ -88,3 +88,4 @@ tcp-fix-mptcp-dss-corruption-due-to-large-pmtu-xmit.patch mptcp-prevent-mpc-handshake-on-port-based-signal-endpoints.patch nilfs2-propagate-directory-read-errors-from-nilfs_find_entry.patch powerpc-64-add-big-endian-elfv2-flavour-to-crypto-vmx-asm-generation.patch +alsa-hda-conexant-use-cached-pin-control-for-node-0x1d-on-hp-eliteone-1000-g2.patch