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: MMI-PSA29.97-13-9~18103^2~124^2~54 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=350434ee53f39adb5e73320be4c98010b87d3dbf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 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: