From: Frederik Deweerdt Date: Fri, 5 Mar 2010 15:34:31 +0000 (+0100) Subject: ALSA: hda: uninitialized variable fix X-Git-Tag: v2.6.34-rc1~3^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2db09b87eb7b547136d5d25ff1df06820e070bf;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed