diff mbox series

Revert 5aec989 because it prevents ALC236 headphones from working and causes freezing on reboot

Message ID 20240609134247.5460-1-nicktelindert@protonmail.com (mailing list archive)
State New, archived
Headers show
Series Revert 5aec989 because it prevents ALC236 headphones from working and causes freezing on reboot | expand

Commit Message

Nick June 9, 2024, 1:42 p.m. UTC
---
 sound/pci/hda/patch_realtek.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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);