Clemens Ladisch 2a031aedf7 sound: snd_ctl_elem_add: fix value count check
Make sure that no user element that has no values can be added.

The check for count>1024 is not needed because the count is checked
later for the individual control types.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-08-17 12:48:00 +02:00
..
2009-07-29 14:41:24 +02:00
2009-08-12 08:05:20 +02:00
2009-03-30 15:21:59 +02:00
2009-02-05 15:08:53 +01:00