Skip to contentSkip to conversation

restore auto-mute mode for Dell Chrome platform

PATCH Kailang 2 participants 2 messages May 16, 2025 Sound

lore
Share & tools
lore

Kailang

author
#0 lore raw

Hi Takashi,

Attach patch was approved by Google guy.

BR,
Kailang

From 666477e29df30398dc0922a383f23543ccd3513c Mon Sep 17 00:00:00 2001
From: Kailang Yang <[email protected]>
Date: Fri, 16 May 2025 14:53:37 +0800
Subject: [PATCH] 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.

sound/pci/hda/patch_realtek.c +4 -1
index 877137cb09ac..2eadee7f9b38 100644
@@ -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;
#1 lore raw
Quoted 4 lines · Kailang

Hi Takashi,

Attach patch was approved by Google guy.

Applied now. Thanks.

Takashi