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
..
2008-01-31 17:29:48 +01:00
2008-01-31 17:29:48 +01:00
2008-10-18 11:05:36 +02:00
2009-03-24 00:35:50 +01:00
2009-01-06 15:59:11 -08:00
2009-04-14 12:39:12 +02:00