acrn-kernel/sound/isa/gus
Takashi Iwai c35034fd64 ALSA: gus: Fix kctl->id initialization
commit c5ae57b1bb upstream.

GUS driver replaces the kctl->id.index after assigning the kctl via
snd_ctl_add().  This doesn't work any longer with the new Xarray
lookup change.  It has to be set before snd_ctl_add() call instead.

Fixes: c27e1efb61 ("ALSA: control: Use xarray for faster lookups")
Cc: <stable@vger.kernel.org>
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230606093855.14685-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-14 11:15:24 +02:00
..
Makefile
gus_dma.c
gus_dram.c
gus_io.c
gus_irq.c
gus_main.c
gus_mem.c ALSA: gus: Fix memory leaks at memory allocator error paths 2021-12-13 16:41:12 +01:00
gus_mem_proc.c
gus_mixer.c
gus_pcm.c ALSA: gus: Fix kctl->id initialization 2023-06-14 11:15:24 +02:00
gus_reset.c
gus_tables.h
gus_timer.c
gus_uart.c
gus_volume.c
gusclassic.c
gusextreme.c
gusmax.c
interwave-stb.c
interwave.c