ALSA: hda - Disable AA-loopback on ALC283 Chromebook
authorTakashi Iwai <tiwai@suse.de>
Wed, 30 Oct 2013 06:50:53 +0000 (07:50 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 30 Oct 2013 06:52:44 +0000 (07:52 +0100)
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>
sound/pci/hda/patch_realtek.c

index 8947035..c516fa9 100644 (file)
@@ -3445,6 +3445,8 @@ static void alc283_fixup_chromebook(struct hda_codec *codec,
        switch (action) {
        case HDA_FIXUP_ACT_PRE_PROBE:
                alc283_chromebook_caps(codec);
        switch (action) {
        case HDA_FIXUP_ACT_PRE_PROBE:
                alc283_chromebook_caps(codec);
+               /* Disable AA-loopback as it causes white noise */
+               spec->gen.mixer_nid = 0;
                spec->gen.hp_automute_hook = alc283_hp_automute_hook;
                /* MIC2-VREF control */
                /* Set to manual mode */
                spec->gen.hp_automute_hook = alc283_hp_automute_hook;
                /* MIC2-VREF control */
                /* Set to manual mode */