]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ALSA: hda/realtek: Fix the push button function for the ALC257
authorOder Chiou <oder_chiou@realtek.com>
Mon, 30 Sep 2024 10:50:39 +0000 (18:50 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 30 Sep 2024 13:56:35 +0000 (15:56 +0200)
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>
sound/pci/hda/patch_realtek.c

index 7681200e84e80e29fdcfa7a0600a15ecd94afb95..b42257e03344a447b1dd0c751e7bead7dbce3fe7 100644 (file)
@@ -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: