media: Documentation: media: Document read-only subdevice
Document a new kAPI function to register subdev device nodes in read only mode and for each affected ioctl report how access is restricted. 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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
18200e9e24
commit
3fb0ee8b3b
@@ -39,6 +39,11 @@ will feature a character device node on which ioctls can be called to
|
||||
Sub-device character device nodes, conventionally named
|
||||
``/dev/v4l-subdev*``, use major number 81.
|
||||
|
||||
Drivers may opt to limit the sub-device character devices to only expose
|
||||
operations that do not modify the device state. In such a case the sub-devices
|
||||
are referred to as ``read-only`` in the rest of this documentation, and the
|
||||
related restrictions are documented in individual ioctls.
|
||||
|
||||
|
||||
Controls
|
||||
========
|
||||
|
Reference in New Issue
Block a user