Skip to content
Commit d2db09b8 authored by Frederik Deweerdt's avatar Frederik Deweerdt Committed by Takashi Iwai
Browse files

ALSA: hda: uninitialized variable fix



Commit eaa9b3a7 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: default avatarFrederik Deweerdt <frederik.deweerdt@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0321b695
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment