From: Clemens Ladisch Date: Mon, 17 Aug 2009 10:25:52 +0000 (+0200) Subject: sound: snd_ctl_elem_add: fix value count check X-Git-Tag: v2.6.32-rc1~732^2~17^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a031aedf7f574a01eb725507cb303d4d7b8b23a;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed