ALSA: hda - Fix missing initialization in alc662 auto-parser
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Jun 2011 19:29:12 +0000 (21:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Jun 2011 19:29:12 +0000 (21:29 +0200)
A missing initialization resulted in wrong DAC assignments in
ALC662 (and other) auto-parsers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 7b96dce..757a8a3 100644 (file)
@@ -18780,7 +18780,7 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec)
 {
        struct alc_spec *spec = codec->spec;
        const struct auto_pin_cfg *cfg = &spec->autocfg;
-       bool redone;
+       bool redone = false;
        int i;
 
  again: