From: Takashi Iwai <tiwai@suse.de>
Date: Thu, 30 Jun 2011 19:29:12 +0000 (+0200)
Subject: ALSA: hda - Fix missing initialization in alc662 auto-parser
X-Git-Tag: v3.1-rc1~271^2^2~54
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=350434ee53f39adb5e73320be4c98010b87d3dbf;p=linux.git

ALSA: hda - Fix missing initialization in alc662 auto-parser

A missing initialization resulted in wrong DAC assignments in
ALC662 (and other) auto-parsers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 7b96dcef2c62..757a8a3d1e52 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -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: