Files
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
..
2025-06-24 01:01:09 +01:00
2025-07-04 22:42:36 +01:00
2025-06-24 01:01:19 +01:00
2025-06-24 01:01:11 +01:00
2025-06-24 01:01:12 +01:00
2025-06-24 01:01:15 +01:00
2025-06-24 01:01:27 +01:00
2025-06-24 01:01:16 +01:00
2025-06-24 01:01:27 +01:00
2025-06-25 16:27:47 +01:00
2025-06-24 01:01:29 +01:00
2025-09-22 14:00:38 +02:00