summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com>2024-06-18 14:16:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-25 09:49:13 +0200
commitdd13371a4da42c7de21b2d3b02c1360f7b5aa4ac (patch)
tree5be42925d73f59484fb1ba866e2317b1992638b4
parentd1e2defa07171257141e142a210b68afe42153a5 (diff)
downloadlinux-dd13371a4da42c7de21b2d3b02c1360f7b5aa4ac.tar.gz
linux-dd13371a4da42c7de21b2d3b02c1360f7b5aa4ac.tar.bz2
linux-dd13371a4da42c7de21b2d3b02c1360f7b5aa4ac.zip
ALSA: hda/realtek: Add more codec ID to no shutup pins list
[ 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>
-rw-r--r--sound/pci/hda/patch_realtek.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 06f00819d1a8..8852c0b429fd 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;