This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-utils.git tree:
Subject: v4l2-compliance: fix timings_cap test. Author: Hans Verkuil <[email protected]> Date: Mon Jul 16 15:50:46 2012 +0200 If the driver doesn't implement VIDIOC_DV_TIMINGS_CAP, then this test failed when it should have returned OK. Signed-off-by: Hans Verkuil <[email protected]> (cherry picked from commit 5be663f181da9dc2a910017713a2d54e44e5f7b9) Signed-off-by: Gregor Jasny <[email protected]> utils/v4l2-compliance/v4l2-test-io-config.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=b649cbc354e7b987ecde8ae2fd9bfd8c583fbe3d diff --git a/utils/v4l2-compliance/v4l2-test-io-config.cpp b/utils/v4l2-compliance/v4l2-test-io-config.cpp index 22cf4d4..09e2dc4 100644 --- a/utils/v4l2-compliance/v4l2-test-io-config.cpp +++ b/utils/v4l2-compliance/v4l2-test-io-config.cpp @@ -323,6 +323,8 @@ static int checkTimingsCap(struct node *node, bool has_timings) return fail("TIMINGS cap set, but could not get timings caps\n"); if (!ret && !has_timings) return fail("TIMINGS cap not set, but could still get timings caps\n"); + if (ret && !has_timings) + return 0; if (check_0(timingscap.reserved, sizeof(timingscap.reserved))) return fail("reserved not zeroed\n"); fail_on_test(timingscap.type != V4L2_DV_BT_656_1120); _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
