]> www.infradead.org Git - users/dwmw2/linux.git/commit
ALSA: ice1712,ice1724: fix the kcontrol->id initialization
authorJaroslav Kysela <perex@perex.cz>
Tue, 6 Jun 2023 07:31:22 +0000 (09:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jun 2023 09:16:54 +0000 (11:16 +0200)
commit286e17a1c3baeb1b1cd36b63ee16e8a6e63d558e
tree1be79353465a4828f34cb8b8a01af5ad5f592dd9
parent23dfdc7770feb09a183cef57858700e362132e20
ALSA: ice1712,ice1724: fix the kcontrol->id initialization

commit b9a4efd61b6b9f62f83752959e75a5dae20624fa upstream.

The new xarray lookup code requires to know complete kcontrol->id before
snd_ctl_add() call. Reorder the code to make the initialization properly.

Cc: stable@kernel.org # v5.19+
Reported-by: Martin Zidek <zidek@master.cz>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230606073122.597491-1-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/ice1712/aureon.c
sound/pci/ice1712/ice1712.c
sound/pci/ice1712/ice1724.c