Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-05-04 09:04:34 +0200
committerTakashi Iwai <tiwai@suse.de>2019-05-04 09:04:39 +0200
commit9aa2d3cf7ebe8787629b865b5d4618dc4137a45e (patch)
tree71cf647a906506e288a2c52c6a818a9c48a49f16
parent017a6f34dcaed446f090f3dd9c3fd52786d121f0 (diff)
ALSA: hda/realtek - Fixed Dell AIO speaker noise (bsc#1051510).
-rw-r--r--patches.drivers/ALSA-hda-realtek-Fixed-Dell-AIO-speaker-noise.patch39
-rw-r--r--series.conf1
2 files changed, 40 insertions, 0 deletions
diff --git a/patches.drivers/ALSA-hda-realtek-Fixed-Dell-AIO-speaker-noise.patch b/patches.drivers/ALSA-hda-realtek-Fixed-Dell-AIO-speaker-noise.patch
new file mode 100644
index 0000000000..9d60a20bcf
--- /dev/null
+++ b/patches.drivers/ALSA-hda-realtek-Fixed-Dell-AIO-speaker-noise.patch
@@ -0,0 +1,39 @@
+From 0700d3d117a7f110ddddbd83873e13652f69c54b Mon Sep 17 00:00:00 2001
+From: Kailang Yang <kailang@realtek.com>
+Date: Fri, 26 Apr 2019 16:13:54 +0800
+Subject: [PATCH] ALSA: hda/realtek - Fixed Dell AIO speaker noise
+Git-commit: 0700d3d117a7f110ddddbd83873e13652f69c54b
+Patch-mainline: v5.1
+References: bsc#1051510
+
+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 | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 070749b50eff..7da7fa4f4201 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -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 */
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index 4c8e6a92b8..c95c9d89b6 100644
--- a/series.conf
+++ b/series.conf
@@ -21560,6 +21560,7 @@
patches.drivers/Input-synaptics-rmi4-write-config-register-values-to.patch
patches.drivers/dmaengine-sh-rcar-dmac-With-cyclic-DMA-residue-0-is-.patch
patches.drivers/ALSA-hda-realtek-Add-new-Dell-platform-for-headset-m.patch
+ patches.drivers/ALSA-hda-realtek-Fixed-Dell-AIO-speaker-noise.patch
# davem/net-next
patches.drivers/ibmvnic-Report-actual-backing-device-speed-and-duple.patch