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 7b96dcef2c6250e123e6c54ca5ff2d4187e55ddd..757a8a3d1e5227b5aba0aeaf2f942f1bf71dc17c 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: