ALSA: hda/via - Add a few sanity checks
authorTakashi Iwai <tiwai@suse.de>
Wed, 22 Feb 2012 11:34:08 +0000 (12:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Feb 2012 11:36:06 +0000 (12:36 +0100)
commit77e314f72241daeac575158f946e905191611f0e
tree3e963e398eddfd2bfe73b2fc618d505ac6d59027
parent8d8bbc6f17b2a28c58de804064dbdab036d4318e
ALSA: hda/via - Add a few sanity checks

Added sanity checks in a few places not to assume the pins having the
certain amp caps or the input-source being always assigned to a mux.

No actual bugs have been triggered by these, but surely better to be a
bit more robust.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c