]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec5ece1a6e7fae8cca07a2f7920340c2d00e9dd9
treebf730a6ca4f090c78233c00f363b443ec2c9f73e
parent684308eb9e863a072090e8cbaefbb8585eaddeec
ALSA: hda - Check widget types while parsing capture source in patch_via.c

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>
sound/pci/hda/patch_via.c