]> err.no Git - linux-2.6/commit
V4L/DVB (8116): videodev: allow PRIVATE_BASE controls when called through VIDIOC_G...
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 25 Jun 2008 09:54:05 +0000 (06:54 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:12:33 +0000 (07:12 -0300)
commit6264c80661eaa2df793dd71d4956f371be955aa2
tree6602871594f2b6c3ed5f9d5afe694a77a46cf71f
parentc5588b5c473c3d496a2f94b80ea8254110866506
V4L/DVB (8116): videodev: allow PRIVATE_BASE controls when called through VIDIOC_G/S_CTRL.

V4L2_CID_PRIVATE_BASE controls are not allowed when called from
VIDIOC_S/G_EXT_CTRL as extended controls use a better mechanism
for private controls. But still allow it when called from the
VIDIOC_G/S_CTRL to extended control conversion in video_ioctl2()
for backwards compatibility.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videodev.c