]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd043321c9a6dbdbf21f35ab131ad4d527fc61684
tree3e963e398eddfd2bfe73b2fc618d505ac6d59027
parent79a8d6f4b7c215fd1e2e2d86de8566a251e95a4c
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