aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2017-10-12 12:04:44 -0400
committerMauro Carvalho Chehab <[email protected]>2017-12-14 09:54:25 -0500
commitef94711a04027066c4ae77d3477a5a4e0ba0784f (patch)
treee984bab3ef3b03bb26590a124c8d285506ea4ec0 /tools/perf/scripts/python/bin
parent45392ff6881dbe56d41ef0b17c2e576065f8ffa1 (diff)
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 <[email protected]> Signed-off-by: Akinobu Mita <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions