diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2015-02-12 13:43:11 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-16 16:20:15 (GMT) |
commit | 823ea2a639611f79a3b4d3daff5ff722316342e7 (patch) | |
tree | ba99919ceb3e2466e9fc44c8fe18aa2dd80d7044 /drivers/media | |
parent | 78c66fbcec717b22fd9db4ddc95e543cfcf544af (diff) | |
download | linux-823ea2a639611f79a3b4d3daff5ff722316342e7.tar.xz |
[media] media: Correctly notify about the failed pipeline validation
On the place of the source entity name, the sink entity name was printed.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/media-entity.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c index 4d8e01c..153a464 100644 --- a/drivers/media/media-entity.c +++ b/drivers/media/media-entity.c @@ -282,9 +282,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; } } |