linux/drivers/media
Wen Yang 2c41cc0be0 media: venus: firmware: fix leaked of_node references
The call to of_parse_phandle returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.

Detected by coccinelle with the following warnings:
drivers/media/platform/qcom/venus/firmware.c:90:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 82, but without a corresponding object release within this function.
drivers/media/platform/qcom/venus/firmware.c:94:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 82, but without a corresponding object release within this function.
drivers/media/platform/qcom/venus/firmware.c:128:1-7: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 82, but without a corresponding object release within this function.

Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Acked-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-24 09:03:06 -04:00
..
cec media: cec: allow any initiator for Ping and Image/Text View On 2019-05-23 05:37:02 -04:00
common media: videobuf2-core.h: Document the alloc memop size argument as page aligned 2019-05-23 10:18:19 -04:00
dvb-core media: remove redundant 'default n' from Kconfig-s 2019-05-24 08:36:45 -04:00
dvb-frontends media: remove redundant 'default n' from Kconfig-s 2019-05-24 08:36:45 -04:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2018-12-05 05:34:33 -05:00
i2c media: Kconfig: allow to select drivers if EMBEDDED 2019-05-23 10:52:35 -04:00
mmc media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
pci media: remove redundant 'default n' from Kconfig-s 2019-05-24 08:36:45 -04:00
platform media: venus: firmware: fix leaked of_node references 2019-05-24 09:03:06 -04:00
radio media: remove redundant 'default n' from Kconfig-s 2019-05-24 08:36:45 -04:00
rc media: rc-main: clean-up two warnings 2019-05-23 13:39:21 -04:00
spi media: Kconfig: allow to select drivers if EMBEDDED 2019-05-23 10:52:35 -04:00
tuners media: Kconfig: allow to select drivers if EMBEDDED 2019-05-23 10:52:35 -04:00
usb media: remove redundant 'default n' from Kconfig-s 2019-05-24 08:36:45 -04:00
v4l2-core media: remove redundant 'default n' from Kconfig-s 2019-05-24 08:36:45 -04:00
Kconfig media: remove redundant 'default n' from Kconfig-s 2019-05-24 08:36:45 -04:00
Makefile media: Media Device Allocator API 2019-04-22 11:18:26 -04:00
media-dev-allocator.c media: Media Device Allocator API 2019-04-22 11:18:26 -04:00
media-device.c media: media_device_enum_links32: clean a reserved field 2019-05-23 13:33:50 -04:00
media-devnode.c media: Clear devnode->media_dev holding media_devnode_lock 2019-04-22 11:24:33 -04:00
media-entity.c media: replace WARN_ON in __media_pipeline_start() 2019-03-19 14:01:08 -04:00
media-request.c media updates for v5.1-rc1 2019-05-08 11:13:17 -07:00