diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-09-29 05:41:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 16:13:39 -0200 |
commit | 04b96d1a6954309eb562ef2736c019b3cf2dad2a (patch) | |
tree | 4fe7fa380db0e477bc6c7aec9a5427488fed4315 /arch/s390/net | |
parent | 03c47aaeffec8e91ff4207d4814061a24fe51afb (diff) | |
download | linux-04b96d1a6954309eb562ef2736c019b3cf2dad2a.tar.bz2 |
[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 'arch/s390/net')
0 files changed, 0 insertions, 0 deletions