Skip to content

Commit 5ad8a4d

Browse files
KailangYangtiwai
authored andcommitted
ALSA: hda/realtek - restore auto-mute mode for Dell Chrome platform
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>
1 parent 93a81ca commit 5ad8a4d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6830,7 +6830,10 @@ static void alc256_fixup_chromebook(struct hda_codec *codec,
68306830

68316831
switch (action) {
68326832
case HDA_FIXUP_ACT_PRE_PROBE:
6833-
spec->gen.suppress_auto_mute = 1;
6833+
if (codec->core.subsystem_id == 0x10280d76)
6834+
spec->gen.suppress_auto_mute = 0;
6835+
else
6836+
spec->gen.suppress_auto_mute = 1;
68346837
spec->gen.suppress_auto_mic = 1;
68356838
spec->en_3kpull_low = false;
68366839
break;

0 commit comments

Comments
 (0)