]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2-ctrls: add v4l2_fh pointer to the set control functions
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 7 Jun 2011 09:47:18 +0000 (06:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 22:16:12 +0000 (19:16 -0300)
commit180c5dfd332ba10a6917d63b41bb4231b1437b83
treeb3465ebcb87887ce33d2f5fb083689731af53f48
parenta02a766f5afa0a4772a7ee90818199761b5b7de6
[media] v4l2-ctrls: add v4l2_fh pointer to the set control functions

When an application changes a control you want to generate an event.
However, you want to avoid sending such an event back to the application
(file handle) that caused the change.

Add the filehandle to the various set control functions.

The filehandle isn't used yet, but the control event patches will need
this.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ctrls.c
drivers/media/video/v4l2-ioctl.c
drivers/media/video/v4l2-subdev.c
include/media/v4l2-ctrls.h