Hi Sakari, Thank you for the patch. On Friday 09 Dec 2016 16:53:41 Sakari Ailus wrote: > The function has a local variable that points to the media device; use > that instead of finding the media device under the entity. > > Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > --- > drivers/media/platform/xilinx/xilinx-dma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/media/platform/xilinx/xilinx-dma.c > b/drivers/media/platform/xilinx/xilinx-dma.c index 065df82..522cdfd 100644 > --- a/drivers/media/platform/xilinx/xilinx-dma.c > +++ b/drivers/media/platform/xilinx/xilinx-dma.c > @@ -187,7 +187,7 @@ static int xvip_pipeline_validate(struct xvip_pipeline > *pipe, mutex_lock(&mdev->graph_mutex); > > /* Walk the graph to locate the video nodes. */ > - ret = media_graph_walk_init(&graph, entity->graph_obj.mdev); > + ret = media_graph_walk_init(&graph, mdev); > if (ret) { > mutex_unlock(&mdev->graph_mutex); > return ret; -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html