]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2-core: drop g/s_priority ops
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 3 Feb 2015 13:46:56 +0000 (10:46 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Mar 2015 20:09:43 +0000 (17:09 -0300)
commit2438e78a48643d41defd4b90da19d17b9c3e65f3
tree95f779d062caa6c2f9aaf54a1b8019c094be8058
parentcee05cb3598813f05a3419c56487e337ee84210f
[media] v4l2-core: drop g/s_priority ops

The handling of VIDIOC_G/S_PRIORITY is now entirely done by the V4L2
core, so we can drop the g/s_priority ioctl ops.

We do have to make sure though that when S_PRIORITY is called we check
that the driver used struct v4l2_fh. This check can be removed once all
drivers are converted to that structure.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-dev.c
drivers/media/v4l2-core/v4l2-ioctl.c
include/media/v4l2-ioctl.h