diff options
| author | Laurent Pinchart <[email protected]> | 2016-09-29 05:41:24 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-11-16 16:13:39 -0200 |
| commit | 04b96d1a6954309eb562ef2736c019b3cf2dad2a (patch) | |
| tree | 4fe7fa380db0e477bc6c7aec9a5427488fed4315 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 03c47aaeffec8e91ff4207d4814061a24fe51afb (diff) | |
[media] v4l: omap3isp: Fix OF node double put when parsing OF graph
When parsing the graph the driver loops over all endpoints using
of_graph_get_next_endpoint(). The function handles reference counting of
the passed and returned nodes, so the returned node's reference count
must not be decreased manually in the normal path.
Move the offending of_node_put() call to the error path that requires
manual reference count handling.
Reported-by: H. Nikolaus Schaller <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions