ALSA: hda - Check widget types while parsing capture source in patch_via.c
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Jul 2009 05:45:46 +0000 (07:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Jul 2009 05:45:46 +0000 (07:45 +0200)
Check the widget type and don't take invalid widgets while parsing
the capture source in patch_via.c.

Also, fixed some compile warnings introduced in the previous commit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found