diff options
| author | Hans Verkuil <[email protected]> | 2020-05-07 17:12:52 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-05-12 17:05:31 +0200 |
| commit | 6446ec6cbf46483737e832cd6050885fa8eb87fa (patch) | |
| tree | aa755171f8db869b92ecf646023c1d9e48cae10a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | fb15db8c0060e73317a7872986b909343504eb84 (diff) | |
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 <[email protected]>
Signed-off-by: Jacopo Mondi <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions