diff options
-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 54a412af3224..d677c27746e9 100644 --- a/sound/core/control.c +++ b/sound/core/control.c | |||
@@ -1267,6 +1267,7 @@ static int snd_ctl_elem_add(struct snd_ctl_file *file, | |||
1267 | err = snd_ctl_new(&kctl, count, access, file); | 1267 | err = snd_ctl_new(&kctl, count, access, file); |
1268 | if (err < 0) | 1268 | if (err < 0) |
1269 | return err; | 1269 | return err; |
1270 | memcpy(&kctl->id, &info->id, sizeof(kctl->id)); | ||
1270 | kctl->private_data = kzalloc(sizeof(struct user_element) + private_size, | 1271 | kctl->private_data = kzalloc(sizeof(struct user_element) + private_size, |
1271 | GFP_KERNEL); | 1272 | GFP_KERNEL); |
1272 | if (kctl->private_data == NULL) { | 1273 | if (kctl->private_data == NULL) { |