Skip to content

Commit f9adb4a

Browse files
KailangYanggregkh
authored andcommitted
ALSA: hda/realtek - restore auto-mute mode for Dell Chrome platform
[ Upstream commit 5ad8a4d ] 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 <[email protected]> Links: https://lore.kernel.org/[email protected] Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 5277bc9 commit f9adb4a

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
@@ -6813,7 +6813,10 @@ static void alc256_fixup_chromebook(struct hda_codec *codec,
68136813

68146814
switch (action) {
68156815
case HDA_FIXUP_ACT_PRE_PROBE:
6816-
spec->gen.suppress_auto_mute = 1;
6816+
if (codec->core.subsystem_id == 0x10280d76)
6817+
spec->gen.suppress_auto_mute = 0;
6818+
else
6819+
spec->gen.suppress_auto_mute = 1;
68176820
spec->gen.suppress_auto_mic = 1;
68186821
spec->en_3kpull_low = false;
68196822
break;

0 commit comments

Comments
 (0)