linux/drivers/firmware/imx
Joe Hattori ea835113e5 firmware: imx-scu: fix OF node leak in .probe()
[ Upstream commit fbf10b86f6 ]

imx_scu_probe() calls of_parse_phandle_with_args(), but does not
release the OF node reference obtained by it. Add a of_node_put() call
after done with the node.

Fixes: f25a066d1a ("firmware: imx-scu: Support one TX and one RX")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-03-28 22:03:24 +01:00
..
imx-dsp.c firmware: imx-dsp: Convert to platform remove callback returning void 2024-01-04 17:01:14 +01:00
imx-scu-irq.c ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
imx-scu-soc.c firmware: imx: scu: use soc name for soc_id 2023-08-11 22:13:58 +08:00
imx-scu.c firmware: imx-scu: fix OF node leak in .probe() 2025-03-28 22:03:24 +01:00
Kconfig firmware: imx: IMX_SCMI_MISC_DRV should depend on ARCH_MXC 2025-02-27 04:30:20 -08:00
Makefile firmware: imx: Add i.MX95 MISC driver 2024-08-28 21:54:21 +01:00
misc.c firmware: imx: Align imx_sc_msg_req_cpu_start to 4 2020-02-24 15:27:48 +08:00
rm.c firmware: imx: add get resource owner api 2022-02-12 14:07:36 +08:00
sm-misc.c firmware: imx: Add i.MX95 MISC driver 2024-08-28 21:54:21 +01:00