summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/media/media-entity.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
index e7ee666..e22954d 100644
--- a/drivers/media/media-entity.c
+++ b/drivers/media/media-entity.c
@@ -94,16 +94,14 @@ static void dev_dbg_obj(const char *event_name, struct media_gobj *gobj)
struct media_link *link = gobj_to_link(gobj);
dev_dbg(gobj->mdev->dev,
- "%s: id 0x%08x link#%d: '%s' %s#%d ==> '%s' %s#%d\n",
+ "%s: id 0x%08x link#%d: %s#%d ==> %s#%d\n",
event_name, gobj->id, media_localid(gobj),
- link->source->entity->name,
- gobj_type(media_type(&link->source->graph_obj)),
- media_localid(&link->source->graph_obj),
+ gobj_type(media_type(link->gobj0)),
+ media_localid(link->gobj0),
- link->sink->entity->name,
- gobj_type(media_type(&link->sink->graph_obj)),
- media_localid(&link->sink->graph_obj));
+ gobj_type(media_type(link->gobj1)),
+ media_localid(link->gobj1));
break;
}
case MEDIA_GRAPH_PAD: