ALSA: hda/realtek – Fixed Dell AIO speaker noise [Linux 5.1]

ALSA: hda/realtek – Fixed Dell AIO speaker noise [Linux 5.1]

This Linux kernel change "ALSA: hda/realtek – Fixed Dell AIO speaker noise" is included in the Linux 5.1 release. This change is authored by Kailang Yang <kailang [at] realtek.com> on Fri Apr 26 16:13:54 2019 +0800. The commit for this change in Linux stable tree is 0700d3d (patch).

ALSA: hda/realtek - Fixed Dell AIO speaker noise

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 <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 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 070749b..7da7fa4 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 */

Leave a Reply

Your email address will not be published. Required fields are marked *