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-ctl: drop the phys_addr check
Author:  Hans Verkuil <hans.verk...@cisco.com>
Date:    Thu Feb 16 11:56:59 2017 +0100

Don't suggest using --phys-addr if there is no physical address set.
It is actually allowed to send certain messages even if there is no PA.

Also make a small improvement ensuring that an invalid LA is printed as
15 instead of 255.

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

 utils/cec-ctl/cec-ctl.cpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=b0bfef80e5f472fe5ba51686c6cff682c972e65e
diff --git a/utils/cec-ctl/cec-ctl.cpp b/utils/cec-ctl/cec-ctl.cpp
index e0fb31731434..2cddd9f2f502 100644
--- a/utils/cec-ctl/cec-ctl.cpp
+++ b/utils/cec-ctl/cec-ctl.cpp
@@ -1219,7 +1219,7 @@ static int showTopologyDevice(struct node *node, unsigned 
i, unsigned la)
        char osd_name[15];
 
        printf("\tSystem Information for device %d (%s) from device %d (%s):\n",
-              i, la2s(i), la, la2s(la));
+              i, la2s(i), la & 0xf, la2s(la));
 
        cec_msg_init(&msg, la, i);
        cec_msg_get_cec_version(&msg, true);
@@ -1886,9 +1886,6 @@ int main(int argc, char **argv)
        printf("\tPhysical Address           : %x.%x.%x.%x\n",
               phys_addr >> 12, (phys_addr >> 8) & 0xf,
               (phys_addr >> 4) & 0xf, phys_addr & 0xf);
-       if (!options[OptPhysAddr] && phys_addr == 0xffff &&
-           (node.caps & CEC_CAP_PHYS_ADDR))
-               printf("Perhaps you should use option --phys-addr?\n");
 
        if (set_log_addrs) {
                struct cec_log_addrs laddrs = {};

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

Reply via email to