diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-12 18:57:51 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-13 09:21:51 +0300 |
commit | e79d74ab25339437447478e4dfe2b35c5b560512 (patch) | |
tree | 2eb582fd7f327b84dac46d96b769274c0b77bb24 /sound/usb | |
parent | e6826ef14597981f78156a0d5f9553b19f356e3f (diff) | |
download | linux-e79d74ab25339437447478e4dfe2b35c5b560512.tar.xz |
ALSA: control: Fix breakage of user ctl element addition
In the commit [2225e79b9b03: 'ALSA: core: reduce stack usage related
to snd_ctl_new()'], the id field of the newly added kctl is untouched,
thus all attribute like name string remain empty. The fix is just to
add the forgotten memcpy of the id field.
Fixes: 2225e79b9b03 ('ALSA: core: reduce stack usage related to snd_ctl_new()')
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions