From: Kailang Yang Date: Tue, 18 Jun 2024 06:16:04 +0000 (+0800) Subject: ALSA: hda/realtek: Add more codec ID to no shutup pins list X-Git-Tag: v6.10-rc5~31^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70794b9563fe011988bcf6a081af9777e63e8d37;p=thirdparty%2Fkernel%2Flinux.git ALSA: hda/realtek: Add more codec ID to no shutup pins list If it enter to runtime D3 state, it didn't shutup Headset MIC pin. Signed-off-by: Kailang Yang Link: https://lore.kernel.org/r/8d86f61e7d6f4a03b311e4eb4e5caaef@realtek.com Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index fd337fdd30f69..e2dbcf8f5bcfb 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -583,10 +583,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;