]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ALSA: hda/realtek - Fixed Dell AIO speaker noise
authorKailang Yang <kailang@realtek.com>
Fri, 26 Apr 2019 08:13:54 +0000 (16:13 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sun, 28 Apr 2019 06:20:14 +0000 (08:20 +0200)
Fixed Dell AIO speaker noise.
spec->gen.auto_mute_via_amp = 1, this option was solved speaker white
noise at boot.
codec->power_save_node = 0, this option was solved speaker noise at
resume back.

Fixes: 9226665159f0 ("ALSA: hda/realtek - Fix Dell AIO LineOut issue")
Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 070749b50eff8a6752adeffea9ab722616f366d3..7da7fa4f42016ad87ac2bdaaac26dc4d3ed58da1 100644 (file)
@@ -5450,6 +5450,8 @@ static void alc274_fixup_bind_dacs(struct hda_codec *codec,
                return;
 
        spec->gen.preferred_dacs = preferred_pairs;
+       spec->gen.auto_mute_via_amp = 1;
+       codec->power_save_node = 0;
 }
 
 /* The DAC of NID 0x3 will introduce click/pop noise on headphones, so invalidate it */