]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Fixes for all trees
authorSasha Levin <sashal@kernel.org>
Thu, 6 Nov 2025 15:40:57 +0000 (10:40 -0500)
committerSasha Levin <sashal@kernel.org>
Thu, 6 Nov 2025 15:40:57 +0000 (10:40 -0500)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-5.10/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch [new file with mode: 0644]
queue-5.10/series
queue-5.15/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch [new file with mode: 0644]
queue-5.15/series
queue-6.1/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch [new file with mode: 0644]
queue-6.1/series
queue-6.12/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch [new file with mode: 0644]
queue-6.12/series
queue-6.6/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch [new file with mode: 0644]
queue-6.6/series

diff --git a/queue-5.10/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch b/queue-5.10/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch
new file mode 100644 (file)
index 0000000..4602b33
--- /dev/null
@@ -0,0 +1,74 @@
+From 46890e9280d8efb3f8a96f8865c527a94484b7d0 Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
+Date: Tue, 19 Aug 2025 14:03:44 +0800
+Subject: ALSA: hda/realtek: Audio disappears on HP 15-fc000 after warm boot
+ again
+
+From: Kailang Yang <kailang@realtek.com>
+
+[ Upstream commit f4b3cef55f5f96fdb4e7f9ca90b7d6213689faeb ]
+
+There was a similar bug in the past (Bug 217440), which was fixed for
+this laptop.
+The same issue is occurring again as of kernel v.6.12.2. The symptoms
+are very similar - initially audio works but after a warm reboot, the
+audio completely disappears until the computer is powered off (there
+is no audio output at all).
+
+The issue is also related by caused by a different change now. By
+bisecting different kernel versions, I found that reverting
+cc3d0b5dd989 in patch_realtek.c[*] restores the sound and it works
+fine after the reboot.
+
+[*] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/sound/pci/hda/patch_realtek.c?h=v6.12.2&id=4ed7f16070a8475c088ff423b2eb11ba15eb89b6
+
+[ patch description reformatted by tiwai ]
+
+Fixes: cc3d0b5dd989 ("ALSA: hda/realtek: Update ALC256 depop procedure")
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=220109
+Signed-off-by: Kailang Yang <kailang@realtek.com>
+Link: https://lore.kernel.org/5317ca723c82447a938414fcca85cbf5@realtek.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
+---
+ sound/pci/hda/patch_realtek.c | 17 +++++++++--------
+ 1 file changed, 9 insertions(+), 8 deletions(-)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 84dde97424080..a9c71f38710ed 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -3637,6 +3637,15 @@ static void alc256_shutup(struct hda_codec *codec)
+               hp_pin = 0x21;
+       alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x1); /* Low power */
++
++      /* 3k pull low control for Headset jack. */
++      /* NOTE: call this before clearing the pin, otherwise codec stalls */
++      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
++       * when booting with headset plugged. So skip setting it for the codec alc257
++       */
++      if (spec->en_3kpull_low)
++              alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
++
+       hp_pin_sense = snd_hda_jack_detect(codec, hp_pin);
+       if (hp_pin_sense) {
+@@ -3647,14 +3656,6 @@ static void alc256_shutup(struct hda_codec *codec)
+               msleep(75);
+-      /* 3k pull low control for Headset jack. */
+-      /* NOTE: call this before clearing the pin, otherwise codec stalls */
+-      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
+-       * when booting with headset plugged. So skip setting it for the codec alc257
+-       */
+-              if (spec->en_3kpull_low)
+-                      alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
+-
+               if (!spec->no_shutup_pins)
+                       snd_hda_codec_write(codec, hp_pin, 0,
+                                   AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0);
+-- 
+2.51.0
+
index e42929598d2691f4f9d93dff6a8efae7840a0134..6e705701bb84423ed2046022d6002e9c9e22fc92 100644 (file)
@@ -153,3 +153,4 @@ tools-bitmap-add-missing-asm-generic-bitsperlong.h-i.patch
 fbdev-add-bounds-checking-in-bit_putcs-to-fix-vmallo.patch
 asoc-meson-aiu-encoder-i2s-fix-bit-clock-polarity.patch
 ceph-add-checking-of-wait_for_completion_killable-re.patch
+alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch
diff --git a/queue-5.15/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch b/queue-5.15/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch
new file mode 100644 (file)
index 0000000..97fa1c3
--- /dev/null
@@ -0,0 +1,74 @@
+From a83bc2ece33d10e32cc723566b461667bbee716f Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
+Date: Tue, 19 Aug 2025 14:03:44 +0800
+Subject: ALSA: hda/realtek: Audio disappears on HP 15-fc000 after warm boot
+ again
+
+From: Kailang Yang <kailang@realtek.com>
+
+[ Upstream commit f4b3cef55f5f96fdb4e7f9ca90b7d6213689faeb ]
+
+There was a similar bug in the past (Bug 217440), which was fixed for
+this laptop.
+The same issue is occurring again as of kernel v.6.12.2. The symptoms
+are very similar - initially audio works but after a warm reboot, the
+audio completely disappears until the computer is powered off (there
+is no audio output at all).
+
+The issue is also related by caused by a different change now. By
+bisecting different kernel versions, I found that reverting
+cc3d0b5dd989 in patch_realtek.c[*] restores the sound and it works
+fine after the reboot.
+
+[*] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/sound/pci/hda/patch_realtek.c?h=v6.12.2&id=4ed7f16070a8475c088ff423b2eb11ba15eb89b6
+
+[ patch description reformatted by tiwai ]
+
+Fixes: cc3d0b5dd989 ("ALSA: hda/realtek: Update ALC256 depop procedure")
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=220109
+Signed-off-by: Kailang Yang <kailang@realtek.com>
+Link: https://lore.kernel.org/5317ca723c82447a938414fcca85cbf5@realtek.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
+---
+ sound/pci/hda/patch_realtek.c | 17 +++++++++--------
+ 1 file changed, 9 insertions(+), 8 deletions(-)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 1352e9328ee2d..10f7f807e706e 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -3634,6 +3634,15 @@ static void alc256_shutup(struct hda_codec *codec)
+               hp_pin = 0x21;
+       alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x1); /* Low power */
++
++      /* 3k pull low control for Headset jack. */
++      /* NOTE: call this before clearing the pin, otherwise codec stalls */
++      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
++       * when booting with headset plugged. So skip setting it for the codec alc257
++       */
++      if (spec->en_3kpull_low)
++              alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
++
+       hp_pin_sense = snd_hda_jack_detect(codec, hp_pin);
+       if (hp_pin_sense) {
+@@ -3644,14 +3653,6 @@ static void alc256_shutup(struct hda_codec *codec)
+               msleep(75);
+-      /* 3k pull low control for Headset jack. */
+-      /* NOTE: call this before clearing the pin, otherwise codec stalls */
+-      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
+-       * when booting with headset plugged. So skip setting it for the codec alc257
+-       */
+-              if (spec->en_3kpull_low)
+-                      alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
+-
+               if (!spec->no_shutup_pins)
+                       snd_hda_codec_write(codec, hp_pin, 0,
+                                   AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0);
+-- 
+2.51.0
+
index 73445f21eec01c5870da9bf639dcb29f5f98dbb7..de4439b15f0ed2d08c9a085460fe587b5fda60d7 100644 (file)
@@ -206,3 +206,4 @@ tools-bitmap-add-missing-asm-generic-bitsperlong.h-i.patch
 fbdev-add-bounds-checking-in-bit_putcs-to-fix-vmallo.patch
 asoc-meson-aiu-encoder-i2s-fix-bit-clock-polarity.patch
 ceph-add-checking-of-wait_for_completion_killable-re.patch
+alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch
diff --git a/queue-6.1/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch b/queue-6.1/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch
new file mode 100644 (file)
index 0000000..b0d1c7a
--- /dev/null
@@ -0,0 +1,74 @@
+From 20c5b16a228fc358fd8e5f2d8c85f6b7a1faad07 Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
+Date: Tue, 19 Aug 2025 14:03:44 +0800
+Subject: ALSA: hda/realtek: Audio disappears on HP 15-fc000 after warm boot
+ again
+
+From: Kailang Yang <kailang@realtek.com>
+
+[ Upstream commit f4b3cef55f5f96fdb4e7f9ca90b7d6213689faeb ]
+
+There was a similar bug in the past (Bug 217440), which was fixed for
+this laptop.
+The same issue is occurring again as of kernel v.6.12.2. The symptoms
+are very similar - initially audio works but after a warm reboot, the
+audio completely disappears until the computer is powered off (there
+is no audio output at all).
+
+The issue is also related by caused by a different change now. By
+bisecting different kernel versions, I found that reverting
+cc3d0b5dd989 in patch_realtek.c[*] restores the sound and it works
+fine after the reboot.
+
+[*] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/sound/pci/hda/patch_realtek.c?h=v6.12.2&id=4ed7f16070a8475c088ff423b2eb11ba15eb89b6
+
+[ patch description reformatted by tiwai ]
+
+Fixes: cc3d0b5dd989 ("ALSA: hda/realtek: Update ALC256 depop procedure")
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=220109
+Signed-off-by: Kailang Yang <kailang@realtek.com>
+Link: https://lore.kernel.org/5317ca723c82447a938414fcca85cbf5@realtek.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
+---
+ sound/pci/hda/patch_realtek.c | 17 +++++++++--------
+ 1 file changed, 9 insertions(+), 8 deletions(-)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index fcc22aa991748..ccbdb01ab6ece 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -3641,6 +3641,15 @@ static void alc256_shutup(struct hda_codec *codec)
+               hp_pin = 0x21;
+       alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x1); /* Low power */
++
++      /* 3k pull low control for Headset jack. */
++      /* NOTE: call this before clearing the pin, otherwise codec stalls */
++      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
++       * when booting with headset plugged. So skip setting it for the codec alc257
++       */
++      if (spec->en_3kpull_low)
++              alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
++
+       hp_pin_sense = snd_hda_jack_detect(codec, hp_pin);
+       if (hp_pin_sense) {
+@@ -3651,14 +3660,6 @@ static void alc256_shutup(struct hda_codec *codec)
+               msleep(75);
+-      /* 3k pull low control for Headset jack. */
+-      /* NOTE: call this before clearing the pin, otherwise codec stalls */
+-      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
+-       * when booting with headset plugged. So skip setting it for the codec alc257
+-       */
+-              if (spec->en_3kpull_low)
+-                      alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
+-
+               if (!spec->no_shutup_pins)
+                       snd_hda_codec_write(codec, hp_pin, 0,
+                                   AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0);
+-- 
+2.51.0
+
index 67d2e712912091ba8b3002597a26737dacf02645..4800aa6f17021f5ba49288fd80ce8eb662bcade3 100644 (file)
@@ -298,3 +298,4 @@ fbdev-add-bounds-checking-in-bit_putcs-to-fix-vmallo.patch
 kbuild-uapi-strip-comments-before-size-type-check.patch
 asoc-meson-aiu-encoder-i2s-fix-bit-clock-polarity.patch
 ceph-add-checking-of-wait_for_completion_killable-re.patch
+alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch
diff --git a/queue-6.12/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch b/queue-6.12/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch
new file mode 100644 (file)
index 0000000..afcce63
--- /dev/null
@@ -0,0 +1,74 @@
+From 8acb58c212fad821a0018e09f9366146f5816f0c Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
+Date: Tue, 19 Aug 2025 14:03:44 +0800
+Subject: ALSA: hda/realtek: Audio disappears on HP 15-fc000 after warm boot
+ again
+
+From: Kailang Yang <kailang@realtek.com>
+
+[ Upstream commit f4b3cef55f5f96fdb4e7f9ca90b7d6213689faeb ]
+
+There was a similar bug in the past (Bug 217440), which was fixed for
+this laptop.
+The same issue is occurring again as of kernel v.6.12.2. The symptoms
+are very similar - initially audio works but after a warm reboot, the
+audio completely disappears until the computer is powered off (there
+is no audio output at all).
+
+The issue is also related by caused by a different change now. By
+bisecting different kernel versions, I found that reverting
+cc3d0b5dd989 in patch_realtek.c[*] restores the sound and it works
+fine after the reboot.
+
+[*] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/sound/pci/hda/patch_realtek.c?h=v6.12.2&id=4ed7f16070a8475c088ff423b2eb11ba15eb89b6
+
+[ patch description reformatted by tiwai ]
+
+Fixes: cc3d0b5dd989 ("ALSA: hda/realtek: Update ALC256 depop procedure")
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=220109
+Signed-off-by: Kailang Yang <kailang@realtek.com>
+Link: https://lore.kernel.org/5317ca723c82447a938414fcca85cbf5@realtek.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
+---
+ sound/pci/hda/patch_realtek.c | 17 +++++++++--------
+ 1 file changed, 9 insertions(+), 8 deletions(-)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index a41df821e15f7..3b754259d2eb6 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -3656,6 +3656,15 @@ static void alc256_shutup(struct hda_codec *codec)
+               hp_pin = 0x21;
+       alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x1); /* Low power */
++
++      /* 3k pull low control for Headset jack. */
++      /* NOTE: call this before clearing the pin, otherwise codec stalls */
++      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
++       * when booting with headset plugged. So skip setting it for the codec alc257
++       */
++      if (spec->en_3kpull_low)
++              alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
++
+       hp_pin_sense = snd_hda_jack_detect(codec, hp_pin);
+       if (hp_pin_sense) {
+@@ -3666,14 +3675,6 @@ static void alc256_shutup(struct hda_codec *codec)
+               msleep(75);
+-      /* 3k pull low control for Headset jack. */
+-      /* NOTE: call this before clearing the pin, otherwise codec stalls */
+-      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
+-       * when booting with headset plugged. So skip setting it for the codec alc257
+-       */
+-              if (spec->en_3kpull_low)
+-                      alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
+-
+               if (!spec->no_shutup_pins)
+                       snd_hda_codec_write(codec, hp_pin, 0,
+                                   AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0);
+-- 
+2.51.0
+
index 615b34c71330c5c64fbcb588fe4b12718f218416..790f7d534c7d9a94e0f52d2e35d9b9de9deb95a0 100644 (file)
@@ -491,3 +491,4 @@ ceph-fix-multifs-mds-auth-caps-issue.patch
 x86-use-cmov-for-user-address-masking.patch
 x86-runtime-const-add-the-runtime_const_ptr-assembly.patch
 x86-uaccess-don-t-use-runtime-const-rewriting-in-mod.patch
+alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch
diff --git a/queue-6.6/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch b/queue-6.6/alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch
new file mode 100644 (file)
index 0000000..aeb9d41
--- /dev/null
@@ -0,0 +1,74 @@
+From be3916274e5cdfa846ade00673d3e478443f5796 Mon Sep 17 00:00:00 2001
+From: Sasha Levin <sashal@kernel.org>
+Date: Tue, 19 Aug 2025 14:03:44 +0800
+Subject: ALSA: hda/realtek: Audio disappears on HP 15-fc000 after warm boot
+ again
+
+From: Kailang Yang <kailang@realtek.com>
+
+[ Upstream commit f4b3cef55f5f96fdb4e7f9ca90b7d6213689faeb ]
+
+There was a similar bug in the past (Bug 217440), which was fixed for
+this laptop.
+The same issue is occurring again as of kernel v.6.12.2. The symptoms
+are very similar - initially audio works but after a warm reboot, the
+audio completely disappears until the computer is powered off (there
+is no audio output at all).
+
+The issue is also related by caused by a different change now. By
+bisecting different kernel versions, I found that reverting
+cc3d0b5dd989 in patch_realtek.c[*] restores the sound and it works
+fine after the reboot.
+
+[*] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/sound/pci/hda/patch_realtek.c?h=v6.12.2&id=4ed7f16070a8475c088ff423b2eb11ba15eb89b6
+
+[ patch description reformatted by tiwai ]
+
+Fixes: cc3d0b5dd989 ("ALSA: hda/realtek: Update ALC256 depop procedure")
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=220109
+Signed-off-by: Kailang Yang <kailang@realtek.com>
+Link: https://lore.kernel.org/5317ca723c82447a938414fcca85cbf5@realtek.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
+---
+ sound/pci/hda/patch_realtek.c | 17 +++++++++--------
+ 1 file changed, 9 insertions(+), 8 deletions(-)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 5fe6b71d90f4f..65c9d47f03af5 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -3644,6 +3644,15 @@ static void alc256_shutup(struct hda_codec *codec)
+               hp_pin = 0x21;
+       alc_update_coefex_idx(codec, 0x57, 0x04, 0x0007, 0x1); /* Low power */
++
++      /* 3k pull low control for Headset jack. */
++      /* NOTE: call this before clearing the pin, otherwise codec stalls */
++      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
++       * when booting with headset plugged. So skip setting it for the codec alc257
++       */
++      if (spec->en_3kpull_low)
++              alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
++
+       hp_pin_sense = snd_hda_jack_detect(codec, hp_pin);
+       if (hp_pin_sense) {
+@@ -3654,14 +3663,6 @@ static void alc256_shutup(struct hda_codec *codec)
+               msleep(75);
+-      /* 3k pull low control for Headset jack. */
+-      /* NOTE: call this before clearing the pin, otherwise codec stalls */
+-      /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly
+-       * when booting with headset plugged. So skip setting it for the codec alc257
+-       */
+-              if (spec->en_3kpull_low)
+-                      alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
+-
+               if (!spec->no_shutup_pins)
+                       snd_hda_codec_write(codec, hp_pin, 0,
+                                   AC_VERB_SET_PIN_WIDGET_CONTROL, 0x0);
+-- 
+2.51.0
+
index 54f685960a57b1efb3a74b71995b909f6001d42a..8c5faf5148ae2d0ba38d13e2540a2fa183340984 100644 (file)
@@ -327,3 +327,4 @@ kbuild-uapi-strip-comments-before-size-type-check.patch
 asoc-meson-aiu-encoder-i2s-fix-bit-clock-polarity.patch
 ceph-add-checking-of-wait_for_completion_killable-re.patch
 ceph-refactor-wake_up_bit-pattern-of-calling.patch
+alsa-hda-realtek-audio-disappears-on-hp-15-fc000-aft.patch