diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2020-05-07 18:12:52 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-12 18:05:31 +0300 |
commit | 6446ec6cbf46483737e832cd6050885fa8eb87fa (patch) | |
tree | aa755171f8db869b92ecf646023c1d9e48cae10a /Documentation/userspace-api/media/v4l/user-func.rst | |
parent | fb15db8c0060e73317a7872986b909343504eb84 (diff) | |
download | linux-6446ec6cbf46483737e832cd6050885fa8eb87fa.tar.xz |
media: v4l2-subdev: add VIDIOC_SUBDEV_QUERYCAP ioctl
While normal video/radio/vbi/swradio nodes have a proper QUERYCAP ioctl
that apps can call to determine that it is indeed a V4L2 device, there
is currently no equivalent for v4l-subdev nodes. Adding this ioctl will
solve that, and it will allow utilities like v4l2-compliance to be used
with these devices as well.
SUBDEV_QUERYCAP currently returns the version and capabilities of the
subdevice. Define a capability flag to report if the subdevice is
registered in read-only mode.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/userspace-api/media/v4l/user-func.rst')
0 files changed, 0 insertions, 0 deletions