]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: hda/realtek: Add more codec ID to no shutup pins list
authorKailang Yang <kailang@realtek.com>
Tue, 18 Jun 2024 06:16:04 +0000 (14:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Jul 2024 08:38:30 +0000 (10:38 +0200)
[ Upstream commit 70794b9563fe011988bcf6a081af9777e63e8d37 ]

If it enter to runtime D3 state, it didn't shutup Headset MIC pin.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Link: https://lore.kernel.org/r/8d86f61e7d6f4a03b311e4eb4e5caaef@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/patch_realtek.c

index 8a411a6fe0b7ca769ba71110d9c3110aba981054..ff3a90e2e35cccd50bee364420c50d9262f3ca3b 100644 (file)
@@ -520,10 +520,14 @@ 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:
        case 0x10ec0286:
+       case 0x10ec0287:
        case 0x10ec0288:
+       case 0x10ec0295:
        case 0x10ec0298:
                alc_headset_mic_no_shutup(codec);
                break;