linux-kernelorg-stable/sound
tangbin f606b9ac4a ASoC: loongson: fix error release
[ Upstream commit 97688a9c5b ]

In function loongson_card_parse_of(), when get device_node
'codec' failed, the function of_node_put(codec) should not
be invoked, thus fix error release.

Fixes: d24028606e ("ASoC: loongson: Add Loongson ASoC Sound Card Support")
Signed-off-by: tangbin <tangbin@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240903090620.6276-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-04 16:29:05 +02:00
..
ac97
aoa
arm
atmel
core ALSA: control: Apply sanity check of input values for user elements 2024-09-12 11:11:28 +02:00
drivers
firewire Revert "ALSA: firewire-lib: operate for period elapse event in process context" 2024-08-11 12:47:25 +02:00
hda ALSA: hda: Add input value sanity checks to HDMI channel map controls 2024-09-12 11:11:29 +02:00
i2c
isa
mips
oss
parisc
pci ALSA: hda: cs35l41: fix module autoloading 2024-10-04 16:29:05 +02:00
pcmcia
ppc
sh
soc ASoC: loongson: fix error release 2024-10-04 16:29:05 +02:00
sparc
spi
synth ALSA: emux: improve patch ioctl data validation 2024-07-05 09:33:52 +02:00
usb ALSA: usb-audio: Support Yamaha P-125 quirk entry 2024-08-29 17:33:11 +02:00
virtio
x86
xen
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c