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: cec-compliance: make <GET CEC VERSION> mandatory
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Wed Jun 15 14:13:11 2022 +0200

Due to a confusing CEC 1.4 specification the GET CEC VERSION
message was optional. But this really makes no sense for modern
CEC implementations, and CEC 2.0 made it mandatory as well.

Without this message a source might fall back to CEC 1.3a, and
that's not what you want.

So make this mandatory in the compliance test.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 utils/cec-compliance/cec-test.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=990a063db70341db5b342b74be24c5193fc5782a
diff --git a/utils/cec-compliance/cec-test.cpp 
b/utils/cec-compliance/cec-test.cpp
index 5c8aa1598439..b8d0ababc68a 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -96,12 +96,8 @@ int system_info_version(struct node *node, unsigned me, 
unsigned la, bool intera
 
        cec_msg_init(&msg, me, la);
        cec_msg_get_cec_version(&msg, true);
-       if (!transmit_timeout(node, &msg) || timed_out(&msg))
+       if (!transmit_timeout(node, &msg) || timed_out_or_abort(&msg))
                return fail_or_warn(node, "Get CEC Version timed out\n");
-       if (unrecognized_op(&msg))
-               return OK_NOT_SUPPORTED;
-       if (refused(&msg))
-               return OK_REFUSED;
 
        /* This needs to be kept in sync with newer CEC versions */
        fail_on_test(msg.msg[2] < CEC_OP_CEC_VERSION_1_3A ||

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

Reply via email to