summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-03-22 17:09:47 +0100
committerTakashi Iwai <tiwai@suse.de>2010-03-22 17:09:47 +0100
commit7fb5622326bf98437e629e94f8710eb12a90b30d (patch)
tree6b5acddeb991ba33e0bf7f03579568956f8655ab /sound/pci/hda
parent93929ebc813e2bbb768676ed13a1661893631504 (diff)
downloadlinux-7fb5622326bf98437e629e94f8710eb12a90b30d.tar.gz
linux-7fb5622326bf98437e629e94f8710eb12a90b30d.tar.bz2
linux-7fb5622326bf98437e629e94f8710eb12a90b30d.zip
ALSA: hda - Fix uninitialized variable warning in alc_auto_parse_customize_define()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3d37e2161a57..3dc2be8f3ca9 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1263,7 +1263,7 @@ static void alc_init_auto_mic(struct hda_codec *codec)
static int alc_auto_parse_customize_define(struct hda_codec *codec)
{
unsigned int ass, tmp, i;
- unsigned nid;
+ unsigned nid = 0;
struct alc_spec *spec = codec->spec;
ass = codec->subsystem_id & 0xffff;