linux-stable/drivers/media/platform
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
..
am437x media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
atmel media: atmel-isc: avoid returning a random value at isc_parse_dt() 2017-12-11 13:04:50 -05:00
blackfin media: drivers: delete error messages for failed memory allocation 2017-09-23 08:19:55 -04:00
cec-gpio [media] cec-gpio: don't generate spurious HPD events 2017-10-04 17:04:18 -03:00
coda media: coda: remove definition of CODA_STD_MJPG 2017-12-08 11:12:31 -05:00
davinci media: davinci: vpif_capture: add NULL check on devm_kzalloc return value 2017-12-08 11:15:41 -05:00
exynos-gsc media: exynos-gsc: Add hardware rotation limits 2017-10-16 16:49:09 -07:00
exynos4-is media: exynos4-is: Use PTR_ERR_OR_ZERO() 2017-12-08 11:29:04 -05:00
marvell-ccic License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
meson media: platform: Add Amlogic Meson AO CEC Controller driver 2017-08-09 10:45:26 -04:00
mtk-jpeg media: vcodec: mediatek: constify v4l2_m2m_ops structures 2017-08-20 08:03:55 -04:00
mtk-mdp License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtk-vcodec media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION 2017-12-08 11:14:23 -05:00
mtk-vpu media: mtk-vpu: add description for wdt fields at struct mtk_vpu 2017-11-30 04:19:00 -05:00
omap media: omap_vout: Fix a possible null pointer dereference in omap_vout_open() 2017-10-31 06:37:22 -04:00
omap3isp media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
qcom media: venus: cleanup set_property controls 2017-12-08 11:28:37 -05:00
rcar-vin media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
rockchip/rga media: rockchip/rga: annotate PM functions as __maybe_unused 2017-10-31 07:21:56 -04:00
s3c-camif media: s3c-camif: add missing description at s3c_camif_find_format() 2017-11-30 04:19:00 -05:00
s5p-cec media: s5p-cec: add NACK detection support 2017-09-23 07:29:30 -04:00
s5p-g2d media: platform: make video_device const 2017-08-27 08:44:30 -04:00
s5p-jpeg media: s5p-jpeg: directly use parsed subsampling on exynos5433 2017-08-20 08:02:21 -04:00
s5p-mfc treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
soc_camera media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2017-12-08 11:14:44 -05:00
sti media: platform: sti: Adopt SPDX identifier 2017-12-13 09:54:41 -05:00
stm32 media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
tegra-cec media: tegra-cec: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE 2017-12-08 11:15:17 -05:00
ti-vpe media: drivers: media: remove duplicate includes 2017-12-13 09:58:39 -05:00
vimc media: vimc: add test_pattern and h/vflip controls to the sensor 2017-12-08 10:44:55 -05:00
vivid media: vivid: use ktime_t for timestamp calculation 2017-12-08 11:26:24 -05:00
vsp1 media: vsp1: Prevent suspending and resuming DRM pipelines 2017-12-08 10:40:10 -05:00
xilinx media: xilinx-video: fix bad of_node_put() on endpoint error 2017-12-14 09:54:25 -05:00
arv.c
fsl-viu.c treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
Kconfig media: tegra-cec: add Tegra HDMI CEC driver 2017-10-27 15:48:57 +02:00
m2m-deinterlace.c media: platform: make video_device const 2017-08-27 08:44:30 -04:00
Makefile media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
mx2_emmaprp.c media: platform: make video_device const 2017-08-27 08:44:30 -04:00
pxa_camera.c media: drivers: media: remove duplicate includes 2017-12-13 09:58:39 -05:00
rcar-fcp.c v4l: rcar-fcp: Add an API to retrieve the FCP device 2017-06-09 12:25:36 +01:00
rcar_drif.c media: v4l: async: Move async subdev notifier operations to a separate structure 2017-10-31 13:51:45 -04:00
rcar_fdp1.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
rcar_jpu.c media: rcar_jpu: fix two kernel-doc markups 2017-11-30 04:19:03 -05:00
sh_veu.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
sh_vou.c [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
via-camera.c media: platform: make video_device const 2017-08-27 08:44:30 -04:00
via-camera.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
video-mux.c media: platform: video-mux: convert to multiplexer framework 2017-07-20 06:59:25 -04:00
vim2m.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00