ALSA: hda - Return error for invalid setup for VIA
authorTakashi Iwai <tiwai@suse.de>
Sat, 18 Jun 2011 15:33:34 +0000 (17:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Jun 2011 14:24:06 +0000 (16:24 +0200)
commit7f0df88ce0ad846b68156b73b3acc9f3901989d3
tree9042eba0d43657ae5bd6d339f67bda9671027059
parentd7a99cce558f84477adacce9324ab22f52c951ba
ALSA: hda - Return error for invalid setup for VIA

Instead of ignoring the invalid pin configuration, return the error.
This will avoid unexpected crash, anyway.

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