[v4l-utils,v2,6/7] utils: media-ctl: Print the INTERNAL pad flag
Commit Message
From: Sakari Ailus <sakari.ailus@linux.intel.com>
Add the INTERNAL pad flag to the list of known flags, to print it by
name instead of numerical value.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
utils/media-ctl/media-ctl.c | 1 +
1 file changed, 1 insertion(+)
@@ -517,6 +517,7 @@ static void media_print_topology_text_entity(struct media_device *media,
{ MEDIA_PAD_FL_SINK, "SINK" },
{ MEDIA_PAD_FL_SOURCE, "SOURCE" },
{ MEDIA_PAD_FL_MUST_CONNECT, "MUST_CONNECT" },
+ { MEDIA_PAD_FL_INTERNAL, "INTERNAL" },
};
const struct media_entity_desc *info = media_entity_get_info(entity);
const char *devname = media_entity_get_devname(entity);