kernel-fxtec-pro1x/drivers/media/v4l2-core
Hans Verkuil 73f35418a1 [media] v4l2-ioctl: check if an ioctl is valid
Just checking if the op exists isn't correct, you should check if the ioctl
is valid (which implies that the op exists as well).
One exception is g_std: if current_norm is non-zero, then the g_std op may be
absent. This sort of weird behavior is one of the reasons why I am trying to
get rid of current_norm.
This patch fixes the case where the g/s_std op is set, but these ioctls are
disabled. This can happen in drivers supporting multiple models, some that
have TV input (and support the STD API) and some that have a sensor (and do
not support the STD API). In the latter case qv4l2 would still show the
Standards combobox.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-24 12:01:26 -03:00
..
Kconfig [media] media/v4l2: VIDEOBUF2_DMA_CONTIG should depend on HAS_DMA 2013-03-18 18:03:18 -03:00
Makefile [media] v4l: Don't compile v4l2-int-device unless really needed 2013-01-06 10:46:40 -02:00
tuner-core.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
v4l2-common.c [media] [V2,24/24] v4l2-core/v4l2-common.c: use IS_ENABLED() macro 2013-02-06 09:20:59 -02:00
v4l2-compat-ioctl32.c [media] v4l: add buffer exporting via dmabuf 2012-11-25 17:20:47 -02:00
v4l2-ctrls.c [media] v4l2-ctrls: eliminate lockdep false alarms for struct v4l2_ctrl_handler.lock 2013-03-24 11:47:09 -03:00
v4l2-dev.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
v4l2-device.c [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
v4l2-event.c [media] V4L: Add v4l2_event_subdev_unsubscribe() helper function 2013-02-05 15:04:55 -02:00
v4l2-fh.c [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
v4l2-int-device.c
v4l2-ioctl.c [media] v4l2-ioctl: check if an ioctl is valid 2013-03-24 12:01:26 -03:00
v4l2-mem2mem.c [media] v4l2-mem2mem: drop rdy_queue on STREAMOFF 2013-03-19 15:13:33 -03:00
v4l2-subdev.c [media] v4l: Don't warn during link validation when encountering a V4L2 devnode 2012-11-22 12:09:49 -02:00
videobuf-core.c [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
videobuf-dma-contig.c
videobuf-dma-sg.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
videobuf-dvb.c
videobuf-vmalloc.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
videobuf2-core.c [media] videobuf2: add gfp_flags 2013-03-21 13:17:51 -03:00
videobuf2-dma-contig.c [media] videobuf2: add gfp_flags 2013-03-21 13:17:51 -03:00
videobuf2-dma-sg.c [media] vb2-dma-sg: add debug module option 2013-03-21 13:25:15 -03:00
videobuf2-memops.c [media] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call 2012-11-25 17:20:25 -02:00
videobuf2-vmalloc.c [media] videobuf2: add gfp_flags 2013-03-21 13:17:51 -03:00