diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-05-07 17:12:50 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-12 17:04:07 +0200 |
commit | f75c431e54e2e43c91fe267097b974ff2e5dc668 (patch) | |
tree | e1b4a93f5831616dcda0c04dd4201a53e8e8e78e /samples/hidraw | |
parent | 3fb0ee8b3b79ee9c8fb7769bdf802bffeae7e085 (diff) | |
download | linux-f75c431e54e2e43c91fe267097b974ff2e5dc668.tar.gz linux-f75c431e54e2e43c91fe267097b974ff2e5dc668.tar.bz2 linux-f75c431e54e2e43c91fe267097b974ff2e5dc668.zip |
media: v4l2-dev: Add v4l2_device_register_ro_subdev_node()
Add to the V4L2 core a function to register device nodes for video
subdevices in read-only mode.
Registering a device node in read-only mode is useful to expose to
userspace the current sub-device configuration, without allowing
application to change it by using the V4L2 subdevice ioctls.
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'samples/hidraw')
0 files changed, 0 insertions, 0 deletions