ALSA: hda: uninitialized variable fix

Commit eaa9b3a748539651f50e3a234c8854e1b42a839a introduced the following
uninitialized warning:

sound/pci/hda/patch_realtek.c: In function 'set_capture_mixer':
sound/pci/hda/patch_realtek.c:4928: warning: 'pin' is used uninitialized in this function
sound/pci/hda/patch_realtek.c:4918: note: 'pin' was declared here

It appears indeed that 'pin' needs to be initialized to 0.

Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by Frederik Deweerdt and committed by Takashi Iwai d2db09b8 0321b695

+1 -1
+1 -1
sound/pci/hda/patch_realtek.c
··· 4915 static void fixup_single_adc(struct hda_codec *codec) 4916 { 4917 struct alc_spec *spec = codec->spec; 4918 - hda_nid_t pin; 4919 int i; 4920 4921 /* search for the input pin; there must be only one */
··· 4915 static void fixup_single_adc(struct hda_codec *codec) 4916 { 4917 struct alc_spec *spec = codec->spec; 4918 + hda_nid_t pin = 0; 4919 int i; 4920 4921 /* search for the input pin; there must be only one */