Skip to contentSkip to conversation

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

PATCH Superseded Oder Chiou 2 participants 2 messages Sep 30, 2024 Sound

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Oder Chiou

author
#0 lore raw

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

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.

---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/patch_realtek.c +1 -0
index f787ff4182d4..86db1a4ec24c 100644
@@ -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:
Signature · 1 line
2.34.1
#1 lore raw
Quoted 4 lines · Oder Chiou

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.

If a previous commit caused such a regression, could you point it, too? At best in a form of "Fixes:" tag.

thanks,

Takashi

Quoted 21 lines
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/patch_realtek.c +1 -0
index f787ff4182d4..86db1a4ec24c 100644
@@ -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:
Signature · 1 line
2.34.1