ALSA: hda/realtek - restore auto-mute mode for Dell Chrome platform
authorKailang Yang <kailang@realtek.com>
Fri, 16 May 2025 06:53:37 +0000 (14:53 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 16 May 2025 09:31:49 +0000 (11:31 +0200)
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>
sound/pci/hda/patch_realtek.c

index 8a2b09e4a7d5acf9a05b3c82ed1df7686ac9f871..dcfaddc3ae133fb2db9994a8ef78239c80436af5 100644 (file)
@@ -6830,7 +6830,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;