summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2024-09-30 18:50:39 +0800
committerTakashi Iwai <tiwai@suse.de>2024-09-30 15:56:35 +0200
commit05df9732a0894846c46d0062d4af535c5002799d (patch)
tree2f7183a3ffad4bcbe92abeeef3e454925a354dbd /sound
parent73253f2fd1d0a44708735c842e37163712e3f03b (diff)
downloadlinux-stable-05df9732a0894846c46d0062d4af535c5002799d.tar.gz
linux-stable-05df9732a0894846c46d0062d4af535c5002799d.tar.bz2
linux-stable-05df9732a0894846c46d0062d4af535c5002799d.zip
ALSA: hda/realtek: Fix the push button function for the ALC257
The headset push button cannot work properly in case of the ALC257. This patch reverted the previous commit to correct the side effect. Fixes: ef9718b3d54e ("ALSA: hda/realtek: Fix noise from speakers on Lenovo IdeaPad 3 15IAU7") Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Link: https://patch.msgid.link/20240930105039.3473266-1-oder_chiou@realtek.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 7681200e84e8..b42257e03344 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: