diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-09-29 11:41:24 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 21:13:39 +0300 |
| commit | 04b96d1a6954309eb562ef2736c019b3cf2dad2a (patch) | |
| tree | 4fe7fa380db0e477bc6c7aec9a5427488fed4315 /include/uapi | |
| parent | 03c47aaeffec8e91ff4207d4814061a24fe51afb (diff) | |
| download | linux-04b96d1a6954309eb562ef2736c019b3cf2dad2a.tar.xz | |
[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 <hns@goldelico.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
