WSL2-Linux-Kernel/drivers/media/platform/xilinx
Miaoqian Lin 2ea7caa968 media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
[ Upstream commit 1c78f19c3a ]

of_get_child_by_name() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.

Fixes: df3305156f ("[media] v4l: xilinx: Add Xilinx Video IP core")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 12:35:06 +02:00
..
Kconfig media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver 2020-06-23 13:11:46 +02:00
Makefile media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver 2020-06-23 13:11:46 +02:00
xilinx-csi2rxss.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
xilinx-dma.c media: xilinx: simplify get fourcc logic 2021-06-17 09:29:41 +02:00
xilinx-dma.h media: xilinx: Use the correct style for SPDX License Identifier 2019-11-05 08:30:51 -03:00
xilinx-tpg.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
xilinx-vip.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
xilinx-vip.h media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
xilinx-vipp.c media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init 2022-10-26 12:35:06 +02:00
xilinx-vipp.h media: xilinx: Use the correct style for SPDX License Identifier 2019-11-05 08:30:51 -03:00
xilinx-vtc.c media: xilinx: Use SPDX-License-Identifier 2018-12-03 13:40:05 -05:00
xilinx-vtc.h media: xilinx: Use the correct style for SPDX License Identifier 2019-11-05 08:30:51 -03:00