]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/v4l2-core/v4l2-ctrls.c
[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>
Wed, 27 Jul 2011 20:53:19 +0000 (17:53 -0300)
commitab892bac8438c5c2ff09a60d765d9b0c14941ba9
treef0c96b30275086c26b9e17b0092b7587b6f0ac10
parenta1c894fba3c306a738576710ca35e70a32b74a6d
[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