]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2-ctrls.c: add support for V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 Jun 2011 11:56:22 +0000 (08:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 23:54:51 +0000 (20:54 -0300)
commitdf6aabbeb2b8799d97f3886fc994c318bc6a6843
treede0e84685ce9628566a6a1978eb4117364d53649
parent0c2ec360f0228bbc0c0eb6f115839d39fbbd9c61
[media] v4l2-ctrls.c: add support for V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK

Normally no control events will go to the filehandle that called the
VIDIOC_S_CTRL/VIDIOC_S_EXT_CTRLS ioctls. This is to prevent a feedback
loop.

This can now be overridden by setting the new V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK
flag.

Based on suggestions from Mauro Carvalho Chehab <mchehab@redhat.com> and
Laurent Pinchart <laurent.pinchart@ideasonboard.com>.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml
drivers/media/video/v4l2-ctrls.c
include/linux/videodev2.h