linux-stable/sound/drivers
Jonas Holmberg c2566aad55 ALSA: aloop: Fix initialization of controls
commit 168632a495 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>
2021-04-14 08:22:31 +02:00
..
mpu401 ALSA: drivers: Remove empty init and exit 2018-08-03 16:11:30 +02:00
opl3 ALSA: opl3: fix infoleak in opl3 2020-07-16 08:17:25 +02:00
opl4 ALSA: drivers: Remove empty init and exit 2018-08-03 16:11:30 +02:00
pcsp License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vx ALSA: drivers: Remove empty init and exit 2018-08-03 16:11:30 +02:00
aloop.c ALSA: aloop: Fix initialization of controls 2021-04-14 08:22:31 +02:00
dummy.c ALSA: dummy: Fix PCM format loop in proc output 2020-02-11 04:33:56 -08:00
Kconfig docs: Fix some broken references 2018-06-15 18:10:01 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ml403-ac97cr.c ALSA: drivers: constify snd_pcm_ops structures 2017-08-19 11:02:15 +02:00
mtpav.c ALSA: drivers: Convert timers to use timer_setup() 2017-10-24 21:01:16 +02:00
mts64.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
pcm-indirect2.c treewide: Fix typos in printk 2015-12-08 14:59:19 +01:00
pcm-indirect2.h
portman2x4.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
serial-u16550.c ALSA: drivers: Convert timers to use timer_setup() 2017-10-24 21:01:16 +02:00
virmidi.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00