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: check for Routing Information from TV
Author:  Johan Fjeldtvedt <jaf...@gmail.com>
Date:    Mon Aug 22 11:06:33 2016 +0200

A TV shall not send a Routing Information message as initiator.

Signed-off-by: Johan Fjeldtvedt <jaf...@gmail.com>
Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>

 utils/cec-follower/cec-processing.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=d88ae151130e028c448ea163964eb720f88a0d70
diff --git a/utils/cec-follower/cec-processing.cpp 
b/utils/cec-follower/cec-processing.cpp
index 771eb2dc77f8..34d65e4f8f87 100644
--- a/utils/cec-follower/cec-processing.cpp
+++ b/utils/cec-follower/cec-processing.cpp
@@ -408,6 +408,12 @@ static void processMsg(struct node *node, struct cec_msg 
&msg, unsigned me)
                dev_info("Stream Path is directed to this device\n");
                return;
        }
+       case CEC_MSG_ROUTING_INFORMATION: {
+               __u8 la = cec_msg_initiator(&msg);
+
+               if (cec_has_tv(1 << la) && la_info[la].phys_addr == 0)
+                       warn("TV (0) at 0.0.0.0 sent Routing Information.");
+       }
 
 
                /* System Information */

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

Reply via email to