From c86f5305643b180f460ab3d7e291d4338277fc62 Mon Sep 17 00:00:00 2001 From: Lu Guanqun Date: Wed, 24 Aug 2011 11:12:34 +0800 Subject: [PATCH] --- yaml --- r: 270413 b: refs/heads/master c: 983929cafc4225d61f50b3e35cf892606a15bc69 h: refs/heads/master i: 270411: b8991bf7d68dceb072fa10120a034efcface113b v: v3 --- [refs] | 2 +- trunk/sound/core/control.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 72ad83e00284..4d8bbd495c0e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9fcd0ab130579d9742538340edda3225f2b49a3e +refs/heads/master: 983929cafc4225d61f50b3e35cf892606a15bc69 diff --git a/trunk/sound/core/control.c b/trunk/sound/core/control.c index f8c5be464510..7f2b3a7eabb2 100644 --- a/trunk/sound/core/control.c +++ b/trunk/sound/core/control.c @@ -1072,7 +1072,7 @@ static int snd_ctl_elem_add(struct snd_ctl_file *file, long private_size; struct user_element *ue; int idx, err; - + if (card->user_ctl_count >= MAX_USER_CONTROLS) return -ENOMEM; if (info->count < 1)