linux-stable/sound/drivers
Jonas Holmberg 8cf440ffbb 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-16 11:57:47 +02:00
..
mpu401 ALSA: drivers: mpu401: constify pnp_device_id 2017-08-17 12:42:14 +02:00
opl3 ALSA: opl3: fix infoleak in opl3 2020-07-22 09:22:17 +02:00
opl4 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01: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: vx: Put missing KERN_CONT prefix 2017-08-31 11:01:17 +02:00
Kconfig ALSA: seq: Allow the modular sequencer registration 2017-06-12 08:43:33 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
aloop.c ALSA: aloop: Fix initialization of controls 2021-04-16 11:57:47 +02:00
dummy.c ALSA: dummy: Fix PCM format loop in proc output 2020-02-14 16:32:08 -05:00
ml403-ac97cr.c ALSA: drivers: constify snd_pcm_ops structures 2017-08-19 11:02:15 +02:00
mtpav.c Annotate hardware config module parameters in sound/drivers/ 2017-04-20 12:02:32 +01:00
mts64.c ALSA: drivers: Constify snd_rawmidi_ops 2017-01-12 12:50:06 +01:00
pcm-indirect2.c treewide: Fix typos in printk 2015-12-08 14:59:19 +01:00
pcm-indirect2.h
portman2x4.c ALSA: drivers: Constify snd_rawmidi_ops 2017-01-12 12:50:06 +01:00
serial-u16550.c Annotate hardware config module parameters in sound/drivers/ 2017-04-20 12:02:32 +01:00
virmidi.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00