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: v4l2-compliance: improve G/S_EDID test
Author:  Hans Verkuil <hans.verk...@cisco.com>
Date:    Sun Feb 4 19:00:30 2018 +0100

Make sure the pad field isn't changed.

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

 utils/v4l2-compliance/v4l2-test-io-config.cpp | 2 ++
 1 file changed, 2 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=91e63b20e0ff5934ffd60b00618135991bae56bc
diff --git a/utils/v4l2-compliance/v4l2-test-io-config.cpp 
b/utils/v4l2-compliance/v4l2-test-io-config.cpp
index 8252a6e47f13..6d6b386656a6 100644
--- a/utils/v4l2-compliance/v4l2-test-io-config.cpp
+++ b/utils/v4l2-compliance/v4l2-test-io-config.cpp
@@ -456,6 +456,7 @@ static int checkEdid(struct node *node, unsigned pad, bool 
is_input)
        fail_on_test(edid.start_block);
        fail_on_test(edid.blocks > 256);
        fail_on_test(!has_edid && edid.blocks);
+       fail_on_test(edid.pad != pad);
        blocks = edid.blocks;
        edid.edid = data;
        ret = doioctl(node, VIDIOC_G_EDID, &edid);
@@ -512,6 +513,7 @@ static int checkEdid(struct node *node, unsigned pad, bool 
is_input)
        ret = doioctl(node, VIDIOC_S_EDID, &edid);
        fail_on_test(ret != E2BIG);
        fail_on_test(edid.blocks == 0 || edid.blocks >= 256);
+       fail_on_test(edid.pad != pad);
        return 0;
 }
 

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

Reply via email to