This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: v4l2-compliance: show entity functions and interface types
Author:  Hans Verkuil <hans.verk...@cisco.com>
Date:    Thu Feb 8 12:54:37 2018 +0100

When running in verbose mode show the entity functions and interface
types when testing G_TOPOLOGY.

Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>

 utils/v4l2-compliance/v4l2-test-media.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=aaffbc1c3dccea30337fac8784086c5c92f302d8
diff --git a/utils/v4l2-compliance/v4l2-test-media.cpp 
b/utils/v4l2-compliance/v4l2-test-media.cpp
index 0e066cab48f2..4de5e668c087 100644
--- a/utils/v4l2-compliance/v4l2-test-media.cpp
+++ b/utils/v4l2-compliance/v4l2-test-media.cpp
@@ -151,7 +151,8 @@ int testMediaTopology(struct node *node)
                media_v2_entity &ent = v2_ents[i];
 
                if (show_info)
-                       printf("\t\tEntity: %s (0x%08x)\n", ent.name, ent.id);
+                       printf("\t\tEntity: %s (ID: 0x%08x Function: 0x%08x)\n",
+                              ent.name, ent.id, ent.function);
                fail_on_test(check_0(ent.reserved, sizeof(ent.reserved)));
                fail_on_test(check_string(ent.name, sizeof(ent.name)));
                fail_on_test(!ent.id);
@@ -164,7 +165,8 @@ int testMediaTopology(struct node *node)
                media_v2_interface &iface = v2_ifaces[i];
 
                if (show_info)
-                       printf("\t\tInterface: 0x%08x\n", iface.id);
+                       printf("\t\tInterface: 0x%08x (Type: 0x%08x)\n",
+                              iface.id, iface.intf_type);
                fail_on_test(check_0(iface.reserved, sizeof(iface.reserved)));
                fail_on_test(checkDevice(iface.devnode.major, 
iface.devnode.minor,
                                         true, iface.id));

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to