]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: control - add the missing prev_lops2 initialization
authorJaroslav Kysela <perex@perex.cz>
Wed, 31 Mar 2021 18:07:02 +0000 (20:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 1 Apr 2021 08:03:59 +0000 (10:03 +0200)
commitcdc94438867d0ea9b761b6d52e4661cc96fd39dd
treef9232f535f30ea2366c12e4ba7a59f088dbcdf0d
parent4c57807d86be02ec2f959e2694a971a43a686ae6
ALSA: control - add the missing prev_lops2 initialization

As static analysis reported, the prev_lops2 should contain
the previous lops2 pointer in snd_ctl_disconnect_layer().

Link: https://lore.kernel.org/alsa-devel/96e9bd5c-c8db-0db8-b393-fbf4a047dc80@canonical.com/
Fixes: c639d7443710 ("ALSA: control - add layer registration routines")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20210331180702.663489-1-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c