diff options
author | Alexey Khoroshilov <[email protected]> | 2018-05-25 17:54:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2018-06-28 06:38:43 -0400 |
commit | 64bac6916ef7d9cc57367893aea1544fcad91b9b (patch) | |
tree | b08bf0a1bbd160b47c91a22ed8918d48a0d4245a /tools/perf/util/trace-event-scripting.c | |
parent | 9fab166a3e8f9e071de3418d27ffd03cdba2e9df (diff) |
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 <[email protected]>
Reviewed-by: Nicholas Mc Guire <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions