From: Takashi Iwai Date: Thu, 30 Jun 2011 19:29:12 +0000 (+0200) Subject: ALSA: hda - Fix missing initialization in alc662 auto-parser X-Git-Tag: v3.12-rc1~4508^2~124^2~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=350434ee53f39adb5e73320be4c98010b87d3dbf;p=kernel%2Fkernel-generic.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 --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 7b96dce..757a8a3 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: