aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/core/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/control.c b/sound/core/control.c
index f8c5be464510..7f2b3a7eabb2 100644
--- a/sound/core/control.c
+++ b/sound/core/control.c
@@ -1072,7 +1072,7 @@ static int snd_ctl_elem_add(struct snd_ctl_file *file,
1072 long private_size; 1072 long private_size;
1073 struct user_element *ue; 1073 struct user_element *ue;
1074 int idx, err; 1074 int idx, err;
1075 1075
1076 if (card->user_ctl_count >= MAX_USER_CONTROLS) 1076 if (card->user_ctl_count >= MAX_USER_CONTROLS)
1077 return -ENOMEM; 1077 return -ENOMEM;
1078 if (info->count < 1) 1078 if (info->count < 1)