diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2023-08-31 14:56:28 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-04-29 15:56:37 +0300 |
commit | 83a22a07cd9d51b7ffd18a8904e1857061eda28f (patch) | |
tree | deaa96f6abfe58090f5e50476320fb79f82c5b47 /Documentation/userspace-api/iommufd.rst | |
parent | 38c84932de9cdef7472ff6ecf3214533ba517176 (diff) | |
download | linux-83a22a07cd9d51b7ffd18a8904e1857061eda28f.tar.xz |
media: v4l: subdev: Add len_routes field to struct v4l2_subdev_routing
The len_routes field is used to tell the size of the routes array in
struct v4l2_subdev_routing. This way the number of routes returned from
S_ROUTING IOCTL may be larger than the number of routes provided, in case
there are more routes returned by the driver.
Note that this uAPI is still disabled in the code, so this change can
safely be done. Anyone who manually patched the code to enable this uAPI
must update their code.
The patch also increases the number of reserved fields in struct
v4l2_subdev_routing.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'Documentation/userspace-api/iommufd.rst')
0 files changed, 0 insertions, 0 deletions