diff options
author | Jonas Holmberg <jonashg@axis.com> | 2021-04-07 09:54:28 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-04-07 10:21:25 +0200 |
commit | 168632a495f49f33a18c2d502fc249d7610375e9 (patch) | |
tree | d3fd4a9bb933edce047e9652ff8f30ae713174d6 /sound/core/oss/Makefile | |
parent | c6423ed2da6214a68527446b5f8e09cf7162b2ce (diff) | |
download | linux-168632a495f49f33a18c2d502fc249d7610375e9.tar.bz2 |
ALSA: aloop: Fix initialization of controls
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>
Diffstat (limited to 'sound/core/oss/Makefile')
0 files changed, 0 insertions, 0 deletions