This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: v4l2-compliance: report VIDIOC_DBG_G_REGISTER as 'Not supported'
Author:  Hans Verkuil <hverk...@xs4all.nl>
Date:    Sat Jan 8 12:45:57 2011 +0100

If VIDIOC_DBG_G_REGISTER is not supported, then v4l2-compliance would just
say 'OK' instead of 'Not supported'.

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

 utils/v4l2-compliance/v4l2-test-debug.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=9327b40f6fd93ea95038d48897e5f37f7c4f43fa

diff --git a/utils/v4l2-compliance/v4l2-test-debug.cpp 
b/utils/v4l2-compliance/v4l2-test-debug.cpp
index 3302fb6..fe357b8 100644
--- a/utils/v4l2-compliance/v4l2-test-debug.cpp
+++ b/utils/v4l2-compliance/v4l2-test-debug.cpp
@@ -83,7 +83,7 @@ int testRegister(int fd)
        reg.reg = 0;
        ret = doioctl(fd, VIDIOC_DBG_G_REGISTER, &reg, "VIDIOC_DBG_G_REGISTER");
        if (ret == EINVAL)
-               return 0;
+               return ENOSYS;
        if (uid && ret != EPERM) {
                printf("Not allowed to call VIDIOC_DBG_G_REGISTER unless 
root\n");
                return -1;

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

Reply via email to