Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270414
b: refs/heads/master
c: 08ede03
h: refs/heads/master
v: v3
  • Loading branch information
Lu Guanqun authored and Takashi Iwai committed Aug 24, 2011
1 parent c86f530 commit f60a122
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 983929cafc4225d61f50b3e35cf892606a15bc69
refs/heads/master: 08ede038a738f22c1b3425051175e1d627d8dd43
2 changes: 1 addition & 1 deletion trunk/sound/core/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ static int snd_ctl_elem_add(struct snd_ctl_file *file,
struct user_element *ue;
int idx, err;

if (card->user_ctl_count >= MAX_USER_CONTROLS)
if (!replace && card->user_ctl_count >= MAX_USER_CONTROLS)
return -ENOMEM;
if (info->count < 1)
return -EINVAL;
Expand Down

0 comments on commit f60a122

Please sign in to comment.