ALSA: hda - Fix control element allocations in VIA codec parser
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Apr 2010 12:33:57 +0000 (14:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Apr 2010 12:35:11 +0000 (14:35 +0200)
commitb331439dfd41dc813b3557ca5927a3a644f35792
tree0a5ffe68fe93b4dec529074f6a700debccf3ba2b
parentff818c24c2af370153646d302d831b69b023816f
ALSA: hda - Fix control element allocations in VIA codec parser

The commit 5b0cb1d850c26893b1468b3a519433a1b7a176be
    ALSA: hda - add more NID->Control mapping
breaks the control element allocation by returning a wrong value.
Let's fix it.

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