summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: adc29a2)
raw | patch | inline | side by side (parent: adc29a2)
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | |
Wed, 3 Jul 2013 02:05:51 +0000 (23:05 -0300) | ||
committer | Arthur Philpott <arthur.philpott@ti.com> | |
Tue, 11 Mar 2014 23:24:12 +0000 (18:24 -0500) |
The of_get_child_by_name() function takes a reference to the node it
returns. Make sure to drop it when looking for the ports node in
v4l2_of_get_next_endpoint().
Change-Id: I97a1a5cd4ea833ab52df498f96742899299bbb77
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
returns. Make sure to drop it when looking for the ports node in
v4l2_of_get_next_endpoint().
Change-Id: I97a1a5cd4ea833ab52df498f96742899299bbb77
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
drivers/media/v4l2-core/v4l2-of.c | patch | blob | history |
index f64d95342bf1af03dce1920e85877798146e10c2..ed305d8c65f0466c50645a1845e1b3082ef95373 100644 (file)
if (!endpoint)
pr_err("%s(): no endpoint nodes specified for %s\n",
__func__, parent->full_name);
+ of_node_put(node);
} else {
port = of_get_parent(prev);
if (!port)