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-follower: remove obsolete cec_msg_record_on workaround.
Author:  Hans Verkuil <hans.verk...@cisco.com>
Date:    Wed Oct 12 19:30:59 2016 +0200

The cec_msg_record_on function in cec-funcs.h was missing the reply
argument. That's now been fixed, so the workaround in the code can be
dropped.

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

 utils/cec-follower/cec-processing.cpp | 34 ----------------------------------
 1 file changed, 34 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=79186f9d3d9d3b6bee44444a611bd92435d11807
diff --git a/utils/cec-follower/cec-processing.cpp 
b/utils/cec-follower/cec-processing.cpp
index 93f8549c0da7..8bc70bd070ae 100644
--- a/utils/cec-follower/cec-processing.cpp
+++ b/utils/cec-follower/cec-processing.cpp
@@ -46,40 +46,6 @@
 
 #include "cec-follower.h"
 
-/*
- * cec-funcs.h doesn't have the reply argument for this CEC message.
- * A fix is pending but not yet merged. Once it is merged this workaround
- * can be removed.
- */
-static inline void cec_msg_record_on_reply(struct cec_msg *msg,
-                                        bool reply,
-                                        const struct cec_op_record_src 
*rec_src)
-{
-       switch (rec_src->type) {
-       case CEC_OP_RECORD_SRC_OWN:
-               cec_msg_record_on_own(msg);
-               break;
-       case CEC_OP_RECORD_SRC_DIGITAL:
-               cec_msg_record_on_digital(msg, &rec_src->digital);
-               break;
-       case CEC_OP_RECORD_SRC_ANALOG:
-               cec_msg_record_on_analog(msg,
-                                        rec_src->analog.ana_bcast_type,
-                                        rec_src->analog.ana_freq,
-                                        rec_src->analog.bcast_system);
-               break;
-       case CEC_OP_RECORD_SRC_EXT_PLUG:
-               cec_msg_record_on_plug(msg, rec_src->ext_plug.plug);
-               break;
-       case CEC_OP_RECORD_SRC_EXT_PHYS_ADDR:
-               cec_msg_record_on_phys_addr(msg,
-                                           rec_src->ext_phys_addr.phys_addr);
-               break;
-       }
-       msg->reply = reply ? CEC_MSG_RECORD_STATUS : 0;
-}
-#define cec_msg_record_on cec_msg_record_on_reply
-
 #define VOLUME_MAX 0x64
 #define VOLUME_MIN 0
 

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

Reply via email to