diff options
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/control.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/control.c b/sound/core/control.c index ac1442682ea..3030aaa6d2c 100644 --- a/sound/core/control.c +++ b/sound/core/control.c | |||
@@ -1048,6 +1048,7 @@ static int snd_ctl_elem_add(struct snd_ctl_file *file, | |||
1048 | if (ue == NULL) | 1048 | if (ue == NULL) |
1049 | return -ENOMEM; | 1049 | return -ENOMEM; |
1050 | ue->info = *info; | 1050 | ue->info = *info; |
1051 | ue->info.access = 0; | ||
1051 | ue->elem_data = (char *)ue + sizeof(*ue); | 1052 | ue->elem_data = (char *)ue + sizeof(*ue); |
1052 | ue->elem_data_size = private_size; | 1053 | ue->elem_data_size = private_size; |
1053 | kctl.private_free = snd_ctl_elem_user_free; | 1054 | kctl.private_free = snd_ctl_elem_user_free; |