summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com>2025-05-16 14:53:37 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-04 14:45:11 +0200
commit2164731aa75fc3aaa2a04d9ddb819511a922ef75 (patch)
tree415e52c15ab5e47851c63e415141b2a2c7511074
parent733a47c3c19beb42a07a65af4074b59489359cf7 (diff)
downloadlinux-stable-2164731aa75fc3aaa2a04d9ddb819511a922ef75.tar.gz
linux-stable-2164731aa75fc3aaa2a04d9ddb819511a922ef75.zip
ALSA: hda/realtek - restore auto-mute mode for Dell Chrome platform
[ Upstream commit 5ad8a4ddc45048bc2fe23b75357b6bf185db004f ] This board need to shutdown Class-D amp to avoid EMI issue. Restore the Auto-Mute mode item will off pin control when Auto-mute mode was enable. Signed-off-by: Kailang Yang <kailang@realtek.com> Links: https://lore.kernel.org/ee8bbe5236464c369719d96269ba8ef8@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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 9e5c36ad8f52..3f09ceac08ad 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6811,7 +6811,10 @@ static void alc256_fixup_chromebook(struct hda_codec *codec,
switch (action) {
case HDA_FIXUP_ACT_PRE_PROBE:
- spec->gen.suppress_auto_mute = 1;
+ if (codec->core.subsystem_id == 0x10280d76)
+ spec->gen.suppress_auto_mute = 0;
+ else
+ spec->gen.suppress_auto_mute = 1;
spec->gen.suppress_auto_mic = 1;
spec->en_3kpull_low = false;
break;