diff mbox series

ALSA: hda/realtek: Fix the push button function for the ALC257

Message ID 20240930085731.2871700-1-oder_chiou@realtek.com
State Accepted
Commit 05df9732a0894846c46d0062d4af535c5002799d
Headers show
Series ALSA: hda/realtek: Fix the push button function for the ALC257 | expand

Commit Message

Oder Chiou Sept. 30, 2024, 8:57 a.m. UTC
The patch "Fix noise from speakers on Lenovo IdeaPad 3 15IAU7" caused
that the headset push button cannot work properly in case of ALC257.
This patch reverted it to correct the side effect.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index f787ff4182d4..86db1a4ec24c 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -587,6 +587,7 @@  static void alc_shutup_pins(struct hda_codec *codec)
 	switch (codec->core.vendor_id) {
 	case 0x10ec0236:
 	case 0x10ec0256:
+	case 0x10ec0257:
 	case 0x19e58326:
 	case 0x10ec0283:
 	case 0x10ec0285: