kernel_optimize_test/sound/drivers
Jonas Holmberg 6efe4c1f4d 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>
2021-04-14 08:41:56 +02:00
..
mpu401 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
opl3 Merge branch 'for-next' into for-linus 2020-08-03 08:10:08 +02:00
opl4 ALSA: opl4: More constification 2020-01-05 16:15:08 +01:00
pcsp ALSA: pcsp: Replace tasklet with work 2020-09-09 18:32:37 +02:00
vx ALSA: vx: vx_pcm: remove redundant assignment 2020-09-03 09:28:01 +02:00
aloop.c ALSA: aloop: Fix initialization of controls 2021-04-14 08:41:56 +02:00
dummy.c ALSA: dummy: Use standard macros for fixing PCM format cast 2020-02-10 08:27:31 +01:00
Kconfig sound: ac97: Remove sound driver for ancient platform 2020-05-28 23:24:34 +10:00
Makefile sound: ac97: Remove sound driver for ancient platform 2020-05-28 23:24:34 +10:00
mtpav.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
mts64.c ALSA: mts64: More constifications 2020-01-05 16:15:06 +01:00
portman2x4.c ALSA: portman2x4: fix repeated word 'if' 2020-10-06 18:08:19 +02:00
serial-u16550.c ALSA: serial-u16550: More constification 2020-01-05 16:15:08 +01:00
virmidi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00