On the place of the source entity name, the sink entity name was printed.

Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com>
---
 drivers/media/media-entity.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
index defe4ac..d894481 100644
--- a/drivers/media/media-entity.c
+++ b/drivers/media/media-entity.c
@@ -283,9 +283,9 @@ __must_check int media_entity_pipeline_start(struct 
media_entity *entity,
                        if (ret < 0 && ret != -ENOIOCTLCMD) {
                                dev_dbg(entity->parent->dev,
                                        "link validation failed for \"%s\":%u 
-> \"%s\":%u, error %d\n",
-                                       entity->name, link->source->index,
-                                       link->sink->entity->name,
-                                       link->sink->index, ret);
+                                       link->source->entity->name,
+                                       link->source->index,
+                                       entity->name, link->sink->index, ret);
                                goto error;
                        }
                }
-- 
2.1.0.231.g7484e3b

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to