Linux Sound subsystem development
 help / color / mirror / Atom feed
* restore auto-mute mode for Dell Chrome platform
@ 2025-05-16  9:21 Kailang
  2025-05-16  9:32 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Kailang @ 2025-05-16  9:21 UTC (permalink / raw)
  To: Takashi Iwai (tiwai@suse.de)
  Cc:  (alsa-devel@alsa-project.org), linux-sound@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 73 bytes --]

Hi Takashi,

Attach patch was approved by Google guy.

BR,
Kailang

[-- Attachment #2: 0002-dell-chrome-res-automute.patch --]
[-- Type: application/octet-stream, Size: 1004 bytes --]

From 666477e29df30398dc0922a383f23543ccd3513c Mon Sep 17 00:00:00 2001
From: Kailang Yang <kailang@realtek.com>
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.

Signed-off-by: Kailang Yang <kailang@realtek.com>

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 877137cb09ac..2eadee7f9b38 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;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: restore auto-mute mode for Dell Chrome platform
  2025-05-16  9:21 restore auto-mute mode for Dell Chrome platform Kailang
@ 2025-05-16  9:32 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2025-05-16  9:32 UTC (permalink / raw)
  To: Kailang; +Cc:  (alsa-devel@alsa-project.org), linux-sound@vger.kernel.org

On Fri, 16 May 2025 11:21:24 +0200,
Kailang wrote:
> 
> Hi Takashi,
> 
> Attach patch was approved by Google guy.

Applied now.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-16  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-16  9:21 restore auto-mute mode for Dell Chrome platform Kailang
2025-05-16  9:32 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox