* [PATCH] Revert 5aec989 because it prevents ALC236 headphones from working and causes freezing on reboot
@ 2024-06-09 13:42 Nick
0 siblings, 0 replies; only message in thread
From: Nick @ 2024-06-09 13:42 UTC (permalink / raw)
To: linux-sound; +Cc: Nick
---
sound/pci/hda/patch_realtek.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index e3c0b9d5552d..993c1e8b68d9 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -581,8 +581,6 @@ static void alc_shutup_pins(struct hda_codec *codec)
struct alc_spec *spec = codec->spec;
switch (codec->core.vendor_id) {
- case 0x10ec0236:
- case 0x10ec0256:
case 0x19e58326:
case 0x10ec0283:
case 0x10ec0286:
@@ -3650,6 +3648,8 @@ static void alc256_shutup(struct hda_codec *codec)
/* 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 (codec->core.vendor_id != 0x10ec0257)
+ alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
if (spec->en_3kpull_low)
alc_update_coef_idx(codec, 0x46, 0, 3 << 12);
--
2.45.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-09 13:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-09 13:42 [PATCH] Revert 5aec989 because it prevents ALC236 headphones from working and causes freezing on reboot Nick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox