]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/core/control.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc
[linux-2.6-omap-h63xx.git] / sound / core / control.c
index 6973a9686b679c6f3fc7a5415a1795ce043e6a76..48ef0a09a7a71ad964aac00a79404945e6102d22 100644 (file)
@@ -1018,10 +1018,6 @@ static int snd_ctl_elem_add(struct snd_ctl_file *file,
        }
        switch (info->type) {
        case SNDRV_CTL_ELEM_TYPE_BOOLEAN:
-               private_size = sizeof(char);
-               if (info->count > 128)
-                       return -EINVAL;
-               break;
        case SNDRV_CTL_ELEM_TYPE_INTEGER:
                private_size = sizeof(long);
                if (info->count > 128)