|
@@ -187,7 +187,7 @@ static int xvip_pipeline_validate(struct xvip_pipeline *pipe,
|
|
mutex_lock(&mdev->graph_mutex);
|
|
mutex_lock(&mdev->graph_mutex);
|
|
|
|
|
|
/* Walk the graph to locate the video nodes. */
|
|
/* 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) {
|
|
if (ret) {
|
|
mutex_unlock(&mdev->graph_mutex);
|
|
mutex_unlock(&mdev->graph_mutex);
|
|
return ret;
|
|
return ret;
|