aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-03-22 12:09:47 -0400
committerTakashi Iwai <tiwai@suse.de>2010-03-22 12:09:47 -0400
commit7fb5622326bf98437e629e94f8710eb12a90b30d (patch)
tree6b5acddeb991ba33e0bf7f03579568956f8655ab /sound/pci/hda/patch_realtek.c
parent93929ebc813e2bbb768676ed13a1661893631504 (diff)
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/patch_realtek.c')
-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)
1263static int alc_auto_parse_customize_define(struct hda_codec *codec) 1263static int alc_auto_parse_customize_define(struct hda_codec *codec)
1264{ 1264{
1265 unsigned int ass, tmp, i; 1265 unsigned int ass, tmp, i;
1266 unsigned nid; 1266 unsigned nid = 0;
1267 struct alc_spec *spec = codec->spec; 1267 struct alc_spec *spec = codec->spec;
1268 1268
1269 ass = codec->subsystem_id & 0xffff; 1269 ass = codec->subsystem_id & 0xffff;