linux_dsm_epyc7002/drivers/media/platform/xilinx
Akinobu Mita ef94711a04 media: xilinx-video: fix bad of_node_put() on endpoint error
When iterating through all endpoints using of_graph_get_next_endpoint(),
the refcount of the returned endpoint node is incremented and the refcount
of the node which is passed as previous endpoint is decremented.

So the caller doesn't need to call of_node_put() for each iterated node
except for error exit paths.  Otherwise we get "OF: ERROR: Bad
of_node_put() on ..." messages.

Cc: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-14 09:54:25 -05:00
..
Kconfig [media] v4l: Switch from V4L2 OF not V4L2 fwnode API 2017-06-06 09:58:16 -03:00
Makefile [media] v4l: xilinx: Add Test Pattern Generator driver 2015-04-03 01:04:18 -03:00
xilinx-dma.c [media] xilinx: Use a local media device pointer instead 2017-01-30 11:35:02 -02:00
xilinx-dma.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:40:07 -03:00
xilinx-tpg.c [media] media: platform: xilinx: xilinx-tpg: constify v4l2_subdev_* structures 2017-02-03 09:21:50 -02:00
xilinx-vip.c
xilinx-vip.h
xilinx-vipp.c media: xilinx-video: fix bad of_node_put() on endpoint error 2017-12-14 09:54:25 -05:00
xilinx-vipp.h
xilinx-vtc.c
xilinx-vtc.h