Star64_linux/sound
Christophe JAILLET 6806c196d5 ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()'
[ Upstream commit 173632358f ]

If we return before the end of the 'for_each_child_of_node()' iterator, the
reference taken on 'np' must be released.

Add the missing 'of_node_put()' call.

Fixes: c413983eb6 ("ASoC: rsnd: adjust disabled module")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/4c0e893cbfa21dc76c1ede0b6f4f8cff42209299.1634586167.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 16:57:41 +08:00
..
ac97 bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
aoa Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
arm ALSA: pxa2xx: Use managed PCM buffer allocation 2021-08-04 08:08:21 +02:00
atmel
core ALSA: timer: Unconditionally unlink slave instances, too 2023-04-19 16:56:56 +08:00
drivers ALSA: pcsp: Make hrtimer forwarding more robust 2021-09-28 10:58:08 +02:00
firewire ALSA: oxfw: fix functional regression for Mackie Onyx 1640i in v5.14 or later 2023-04-19 16:57:40 +08:00
hda ALSA: hda: avoid write to STATESTS if controller is in reset 2021-10-12 18:05:28 +02:00
i2c
isa ALSA: gus: Fix repeated probe for ISA interwave card 2021-09-07 11:40:08 +02:00
mips
oss
parisc parisc architecture updates for kernel 5.15: 2021-09-02 13:16:00 -07:00
pci ALSA: hda: Use position buffer for SKL+ again 2023-04-19 16:57:35 +08:00
pcmcia
ppc
sh
soc ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()' 2023-04-19 16:57:41 +08:00
sparc
spi
synth ALSA: synth: missing check for possible NULL after the call to kstrdup 2023-04-19 16:56:56 +08:00
usb ALSA: usb-audio: Fix possible race at sync of urb completions 2023-04-19 16:57:35 +08:00
virtio
x86 ALSA: memalloc: Correctly name as WC 2021-08-04 08:07:58 +02:00
xen
ac97_bus.c
Kconfig
last.c [Audio: I2S & WM8960] Porting i2s to match wm8960 driver 2022-06-20 18:55:45 -07:00
Makefile
sound_core.c