summaryrefslogtreecommitdiff
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorJonas Holmberg <jonashg@axis.com>2021-04-07 09:54:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-16 12:00:20 +0200
commit5f59ece38eacbe79ea846d7c81b197859f3b622e (patch)
tree12d163ecef50ea43df99c5dc238a94dda94a64d0 /net/tipc/socket.c
parent4198d16f19bf87080344a68a2226d6a736c0dc2a (diff)
ALSA: aloop: Fix initialization of controls
commit 168632a495f49f33a18c2d502fc249d7610375e9 upstream. Add a control to the card before copying the id so that the numid field is initialized in the copy. Otherwise the numid field of active_id, format_id, rate_id and channels_id will be the same (0) and snd_ctl_notify() will not queue the events properly. Signed-off-by: Jonas Holmberg <jonashg@axis.com> Reviewed-by: Jaroslav Kysela <perex@perex.cz> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210407075428.2666787-1-jonashg@axis.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions