From: Laurent Pinchart Date: Wed, 3 Jul 2013 02:05:51 +0000 (-0300) Subject: [media] v4l: of: Drop acquired reference to node when getting next endpoint X-Git-Tag: v3.12-rc1~135^2~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5045b495196a624c17a1ef271cbdaa6d3e2d1097;p=pandora-kernel.git [media] v4l: of: Drop acquired reference to node when getting next endpoint 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(). Signed-off-by: Laurent Pinchart Acked-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed