linux/drivers/media
Hans Verkuil 48ea0be060 [media] v4l2-dev/ioctl: determine the valid ioctls upfront
Rather than testing whether an ioctl is implemented in the driver or not
every time the ioctl is called, do it upfront when the device is registered.

This also allows a driver to disable certain ioctls based on the capabilities
of the detected board, something you can't do today without creating separate
v4l2_ioctl_ops structs for each new variation.

For the most part it is pretty straightforward, but for control ioctls a flag
is needed since it is possible that you have per-filehandle controls, and that
can't be determined upfront of course.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-05-14 09:17:28 -03:00
..
common [media] xc5000: xtal_khz should be a u16 rather than a u32 2012-04-19 09:44:08 -03:00
dvb [media] smsusb: add autodetection support for USB ID 2040:c0a0 2012-05-03 15:28:49 -03:00
radio [media] media/radio: use v4l2_ctrl_subscribe_event where possible 2012-05-07 16:26:32 -03:00
rc [media] ati_remote: add support for Medion X10 Digitainer remote 2012-04-11 02:05:46 -03:00
video [media] v4l2-dev/ioctl: determine the valid ioctls upfront 2012-05-14 09:17:28 -03:00
Kconfig [media] DVB: dvb-net, make the kconfig text helpful 2011-07-27 17:53:09 -03:00
Makefile [media] media: Entities, pads and links 2011-03-22 04:53:10 -03:00
media-device.c [media] media: fix truncated entity specification 2011-12-20 09:31:50 -02:00
media-devnode.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00