linux/sound/soc
Haotian Zhang 360b3730f8
ASoC: rsnd: fix OF node reference leak in rsnd_ssiu_probe()
rsnd_ssiu_probe() leaks an OF node reference obtained by
rsnd_ssiu_of_node(). The node reference is acquired but
never released across all return paths.

Fix it by declaring the device node with the __free(device_node)
cleanup construct to ensure automatic release when the variable goes
out of scope.

Fixes: 4e7788fb80 ("ASoC: rsnd: add SSIU BUSIF support")
Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20251112065709.1522-1-vulab@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-11-13 00:36:01 +00:00
..
adi ASoC: adi: Standardize ASoC menu 2025-06-24 01:01:09 +01:00
amd ASoC: amd: acp: Add ACP7.0 match entries for cs35l56 and cs42l43 2025-10-20 02:39:15 +01:00
apple ASoC: apple: mca: Add "apple,t8103-mca" compatible 2025-09-14 21:51:29 +02:00
atmel treewide: Remove redundant 2025-07-04 22:42:36 +01:00
au1x ASoC: au1x: Standardize ASoC menu 2025-06-24 01:01:19 +01:00
bcm ASoC: bcm: Standardize ASoC menu 2025-06-24 01:01:11 +01:00
cirrus ASoC: cirrus: Standardize ASoC menu 2025-06-24 01:01:30 +01:00
codecs ASoC: tas2781: fix getting the wrong device number 2025-11-07 09:37:36 +00:00
dwc ASoC: dwc: Standardize ASoC menu 2025-06-24 01:01:12 +01:00
fsl ASoC: fsl_sai: Fix sync error in consumer mode 2025-10-28 10:22:12 +00:00
generic ASoC: test-component: Use kcalloc() instead of kzalloc() 2025-08-20 15:09:24 +01:00
google ASoC: google: Standardize ASoC menu 2025-06-24 01:01:31 +01:00
hisilicon ASoC: hisilicon: Standardize ASoC menu 2025-06-24 01:01:43 +01:00
img ASoC: img: Imagination Technologies sound should depend on MIPS 2025-07-09 08:58:54 +01:00
intel ASoC: Intel: avs: Use snd_codec format when initializing probe 2025-10-23 13:42:27 +01:00
jz4740 ASoC: jz4740: Standardize ASoC menu 2025-06-24 01:01:32 +01:00
kirkwood ASoC: kirkwood: Standardize ASoC menu 2025-06-24 01:01:38 +01:00
loongson ASoC: loongson: Standardize ASoC menu 2025-06-24 01:01:39 +01:00
mediatek ASoC: mediatek: Fix double pm_runtime_disable in remove functions 2025-10-24 00:59:54 +01:00
meson ASoC: meson: aiu-encoder-i2s: fix bit clock polarity 2025-10-07 13:19:43 +01:00
mxs ASoC: mxs: Standardize ASoC menu 2025-06-24 01:01:15 +01:00
pxa ASoC: pxa: add GPIOLIB_LEGACY dependency 2025-08-10 21:09:04 +01:00
qcom ASoC: qdsp6: q6asm: do not sleep while atomic 2025-10-20 02:39:17 +01:00
renesas ASoC: rsnd: fix OF node reference leak in rsnd_ssiu_probe() 2025-11-13 00:36:01 +00:00
rockchip ASoC: rockchip: i2s-tdm: switch to FIELD_PREP_WM16_CONST macro 2025-09-02 20:06:47 -04:00
samsung ASoC: samsung: littlemill: don't set dapm->bias_level directly 2025-07-13 22:36:48 +01:00
sdca ASoC: SDCA: bug fix while parsing mipi-sdca-control-cn-list 2025-11-10 16:22:49 +00:00
sdw_utils ASoC: sdw_utils: fix device reference leak in is_sdca_endpoint_present() 2025-11-06 13:12:33 +00:00
sof ASoC: Fixes for v6.18 2025-10-08 13:52:14 +02:00
spear ASoC: spear: Standardize ASoC menu 2025-06-24 01:01:27 +01:00
sprd ALSA: compress_offload: Add 64-bit safe timestamp infrastructure 2025-09-08 09:33:24 +02:00
starfive ASoC: starfive: Standardize ASoC menu 2025-06-24 01:01:41 +01:00
sti ASoC: sti: Standardize ASoC menu 2025-06-24 01:01:16 +01:00
stm ASoC: stm32: sai: manage context in set_sysclk callback 2025-09-26 00:59:18 +01:00
sunxi ASoC: sunxi: Standardize ASoC menu 2025-06-24 01:01:27 +01:00
tegra ASoC: Standardize ASoC menu 2025-06-25 16:27:47 +01:00
ti treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
uniphier ALSA: compress_offload: Add 64-bit safe timestamp infrastructure 2025-09-08 09:33:24 +02:00
ux500 ASoC: ux500: Standardize ASoC menu 2025-06-24 01:01:29 +01:00
xilinx ASoC: xilinx: Standardize ASoC menu 2025-06-24 01:01:33 +01:00
xtensa ASoC: xtensa: Standardize ASoC menu 2025-06-24 01:01:34 +01:00
Kconfig ASoC: generic: tidyup standardized ASoC menu for generic 2025-08-10 21:06:44 +01:00
Makefile ASoC: Add SoC USB APIs for adding an USB backend 2025-04-11 13:02:31 +02:00
soc-ac97.c treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
soc-acpi.c
soc-card-test.c
soc-card.c
soc-component.c ALSA: compress_offload: Add 64-bit safe timestamp infrastructure 2025-09-08 09:33:24 +02:00
soc-compress.c ALSA: compress_offload: Add 64-bit safe timestamp infrastructure 2025-09-08 09:33:24 +02:00
soc-core.c ASoC: soc-dapm: tidyup idle_bias handling - step1 2025-09-18 22:24:15 +01:00
soc-dai.c ALSA: compress_offload: Add 64-bit safe timestamp infrastructure 2025-09-08 09:33:24 +02:00
soc-dapm.c ASoC: soc-dapm: add snd_soc_dapm_set_idle_bias() 2025-09-18 22:24:18 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops-test.c ASoC: soc-ops-test: dynamically allocate struct snd_ctl_elem_value 2025-06-13 12:23:55 +01:00
soc-ops.c ASoC: ops: improve snd_soc_get_volsw 2025-09-22 14:00:38 +02:00
soc-pcm.c ASoC: pcm: Do not open FEs with no BEs connected 2025-06-02 12:27:42 +01:00
soc-topology-test.c
soc-topology.c ASoC: topology: Do not call snd_soc_remove_pcm_runtime() for ignored links 2025-06-19 13:19:13 +01:00
soc-usb.c ASoC: usb: Rediscover USB SND devices on USB port add 2025-04-11 13:02:31 +02:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils: Check string pointer validity in snd_soc_dlc_is_dummy() 2025-05-16 13:18:15 +02:00