Просмотр исходного кода

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>
Takashi Iwai 14 лет назад
Родитель
Сommit
350434ee53
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      sound/pci/hda/patch_realtek.c

+ 1 - 1
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;
 	struct alc_spec *spec = codec->spec;
 	const struct auto_pin_cfg *cfg = &spec->autocfg;
 	const struct auto_pin_cfg *cfg = &spec->autocfg;
-	bool redone;
+	bool redone = false;
 	int i;
 	int i;
 
 
  again:
  again: