aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-10-30 02:50:53 -0400
committerTakashi Iwai <tiwai@suse.de>2013-10-30 02:52:44 -0400
commitd2e92709e88d97c001b6bb96054ecb06d99d0dc6 (patch)
treec02c12e93b03de6062be773faacc4ce9ccd9fbfb
parent9cd5ab9c3c32767e5c5e76bed9b0e2b84512f936 (diff)
ALSA: hda - Disable AA-loopback on ALC283 Chromebook
ALC283-based Chromebook suffers from occasional white noise, and it turned out that this comes from AA-loopback. Disable this output path by just clearing mixer_nid, then the generic parser will skip the creation of AA-loopback path. Reported-and-tested-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 894703532ab7..c516fa93ee63 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3445,6 +3445,8 @@ static void alc283_fixup_chromebook(struct hda_codec *codec,
3445 switch (action) { 3445 switch (action) {
3446 case HDA_FIXUP_ACT_PRE_PROBE: 3446 case HDA_FIXUP_ACT_PRE_PROBE:
3447 alc283_chromebook_caps(codec); 3447 alc283_chromebook_caps(codec);
3448 /* Disable AA-loopback as it causes white noise */
3449 spec->gen.mixer_nid = 0;
3448 spec->gen.hp_automute_hook = alc283_hp_automute_hook; 3450 spec->gen.hp_automute_hook = alc283_hp_automute_hook;
3449 /* MIC2-VREF control */ 3451 /* MIC2-VREF control */
3450 /* Set to manual mode */ 3452 /* Set to manual mode */