projects
/
media-ctl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
68a9a12
)
Print subdev device node names in dot diagrams
author
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 20 Oct 2010 16:12:19 +0000
(18:12 +0200)
committer
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 20 Oct 2010 16:12:19 +0000
(18:12 +0200)
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
media.c
patch
|
blob
|
history
diff --git
a/media.c
b/media.c
index
1bc39e1
..
f384026
100644
(file)
--- a/
media.c
+++ b/
media.c
@@
-269,7
+269,10
@@
static void media_print_topology_dot(struct media_device *media)
npads++;
}
npads++;
}
- printf("} | %s | {", entity->info.name);
+ printf("} | %s", entity->info.name);
+ if (entity->devname)
+ printf("\\n%s", entity->devname);
+ printf(" | {");
for (j = 0, npads = 0; j < entity->info.pads; ++j) {
if (entity->pads[j].type != MEDIA_PAD_TYPE_OUTPUT)
for (j = 0, npads = 0; j < entity->info.pads; ++j) {
if (entity->pads[j].type != MEDIA_PAD_TYPE_OUTPUT)