]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/5.0.14/alsa-hda-realtek-fixed-dell-aio-speaker-noise.patch
Linux 5.0.14
[thirdparty/kernel/stable-queue.git] / releases / 5.0.14 / alsa-hda-realtek-fixed-dell-aio-speaker-noise.patch
CommitLineData
2c26872c
GKH
1From 0700d3d117a7f110ddddbd83873e13652f69c54b Mon Sep 17 00:00:00 2001
2From: Kailang Yang <kailang@realtek.com>
3Date: Fri, 26 Apr 2019 16:13:54 +0800
4Subject: ALSA: hda/realtek - Fixed Dell AIO speaker noise
5
6From: Kailang Yang <kailang@realtek.com>
7
8commit 0700d3d117a7f110ddddbd83873e13652f69c54b upstream.
9
10Fixed Dell AIO speaker noise.
11spec->gen.auto_mute_via_amp = 1, this option was solved speaker white
12noise at boot.
13codec->power_save_node = 0, this option was solved speaker noise at
14resume back.
15
16Fixes: 9226665159f0 ("ALSA: hda/realtek - Fix Dell AIO LineOut issue")
17Signed-off-by: Kailang Yang <kailang@realtek.com>
18Cc: <stable@vger.kernel.org>
19Signed-off-by: Takashi Iwai <tiwai@suse.de>
20Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21
22---
23 sound/pci/hda/patch_realtek.c | 2 ++
24 1 file changed, 2 insertions(+)
25
26--- a/sound/pci/hda/patch_realtek.c
27+++ b/sound/pci/hda/patch_realtek.c
28@@ -5448,6 +5448,8 @@ static void alc274_fixup_bind_dacs(struc
29 return;
30
31 spec->gen.preferred_dacs = preferred_pairs;
32+ spec->gen.auto_mute_via_amp = 1;
33+ codec->power_save_node = 0;
34 }
35
36 /* The DAC of NID 0x3 will introduce click/pop noise on headphones, so invalidate it */