From: Takashi Iwai Date: Thu, 12 Mar 2015 15:57:51 +0000 (+0100) Subject: ALSA: control: Fix breakage of user ctl element addition X-Git-Tag: omap-for-v4.1/fixes-rc1~130^2~6^2~43^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e79d74ab25339437447478e4dfe2b35c5b560512;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed