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: v4l-utils: sync with latest kernel
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Thu Aug 8 22:00:17 2024 +0200

Sync up with the latest media_stage master tree.

Specifically to get the updated cec.h header.

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

 include/linux/cec.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=a1ebb4dad512025a7fbb2e7ff6ab6e5f5e604987
diff --git a/include/linux/cec.h b/include/linux/cec.h
index 053cd501bb78..6bfcb47732e9 100644
--- a/include/linux/cec.h
+++ b/include/linux/cec.h
@@ -132,6 +132,8 @@ static __inline__ void cec_msg_init(struct cec_msg *msg,
  * Set the msg destination to the orig initiator and the msg initiator to the
  * orig destination. Note that msg and orig may be the same pointer, in which
  * case the change is done in place.
+ *
+ * It also zeroes the reply, timeout and flags fields.
  */
 static __inline__ void cec_msg_set_reply_to(struct cec_msg *msg,
                                        struct cec_msg *orig)
@@ -139,7 +141,9 @@ static __inline__ void cec_msg_set_reply_to(struct cec_msg 
*msg,
        /* The destination becomes the initiator and vice versa */
        msg->msg[0] = (cec_msg_destination(orig) << 4) |
                      cec_msg_initiator(orig);
-       msg->reply = msg->timeout = 0;
+       msg->reply = 0;
+       msg->timeout = 0;
+       msg->flags = 0;
 }
 
 /**

Reply via email to