The UVC gadget uses "gadget." as businfo prefix for its V4L2 OUTPUT device. Allow it as a valid bus_info prefix. Signed-off-by: Michael Tretter <m.tretter@xxxxxxxxxxxxxx> --- utils/v4l2-compliance/v4l2-compliance.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/v4l2-compliance/v4l2-compliance.cpp b/utils/v4l2-compliance/v4l2-compliance.cpp index 8aebae2ea932..830c2578134c 100644 --- a/utils/v4l2-compliance/v4l2-compliance.cpp +++ b/utils/v4l2-compliance/v4l2-compliance.cpp @@ -653,7 +653,8 @@ static int testCap(struct node *node) memcmp(vcap.bus_info, "parport", 7) && memcmp(vcap.bus_info, "platform:", 9) && memcmp(vcap.bus_info, "rmi4:", 5) && - memcmp(vcap.bus_info, "libcamera:", 10)) + memcmp(vcap.bus_info, "libcamera:", 10) && + memcmp(vcap.bus_info, "gadget.", 7)) return fail("missing bus_info prefix ('%s')\n", vcap.bus_info); if (!node->media_bus_info.empty() && node->media_bus_info != std::string(reinterpret_cast<const char *>(vcap.bus_info))) -- 2.30.2