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-helpers.h: remove stray line in v4l_subdev_s_fd()
Author:  Hans Verkuil <hans.verk...@cisco.com>
Date:    Wed Jul 4 09:23:44 2018 +0200

Early in v4l_subdev_s_fd() direct was set to true (correct), but
a stray line later in the function set it to false again causing
subdev accesses to go via libv4l2, which is not what you want.

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

 utils/common/v4l-helpers.h | 1 -
 1 file changed, 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=f29433ed5a0c8679f69c2c9221ab83a8325e3e99
diff --git a/utils/common/v4l-helpers.h b/utils/common/v4l-helpers.h
index 955f6fd00a1c..00903f007bd2 100644
--- a/utils/common/v4l-helpers.h
+++ b/utils/common/v4l-helpers.h
@@ -512,7 +512,6 @@ static inline int v4l_subdev_s_fd(struct v4l_fd *f, int fd, 
const char *devname)
        memset(&f->cap, 0, sizeof(f->cap));
        f->is_subdev = true;
        f->is_media = false;
-       f->direct = false;
        f->type = 0;
        f->have_query_ext_ctrl = false;
        f->have_ext_ctrls = false;

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

Reply via email to