Alexey Khoroshilov 64bac6916e media: tc358743: release device_node in tc358743_probe_of()
of_graph_get_next_endpoint() returns device_node with refcnt increased,
but these is no of_node_put() for it.

The patch adds one on error and normal paths.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-06-28 06:38:43 -04:00
..
2017-11-30 04:42:19 -05:00
2018-02-14 13:16:31 -05:00
2018-02-14 13:16:31 -05:00
2018-06-07 12:34:37 -07:00
2018-03-23 07:48:08 -04:00
2018-05-10 07:19:23 -04:00