[PATCH v6 1/3] of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint

Philipp Zabel pza at pengutronix.de
Tue Dec 23 04:02:19 PST 2014


On Mon, Dec 22, 2014 at 02:09:46PM -0700, Mathieu Poirier wrote:
> On 22 December 2014 at 08:11, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> > Decrementing the reference count of the previous endpoint node allows to
> > use the of_graph_get_next_endpoint function in a for_each_... style macro.
> > All current users of this function that pass a non-NULL prev parameter
> > (that is, soc_camera and imx-drm) are changed to not decrement the passed
> > prev argument's refcount themselves.
> >
> > Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
> > Acked-by: Mauro Carvalho Chehab <mchehab at osg.samsung.com>
[...]
> I tested this in my tree - ack.

Thanks!

regards
Philipp


More information about the dri-devel mailing list