diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-09-26 16:43:32 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-01-17 19:36:59 +0200 |
commit | 0d99f2de13faccf199e6c9e806702cb21d0b6c24 (patch) | |
tree | fa0aa5257a2542de2e56708d45d110f5656bb9f3 /Documentation/sensor_model.svg | |
parent | df770d4b0a6dc11569beb225b7f47aaaa3863269 (diff) |
libcamera: v4l2_subdevice: Enable streams API when supported
The streams API needs to be enabled explictly by setting a subdev client
capability. Do so unconditionally for subdevs that expose streams
support. We don't need any kernel version check to use the
VIDIOC_SUBDEV_S_CLIENT_CAP ioctl, as it is guaranteed to be supported by
kernels that support streams.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/sensor_model.svg')
0 files changed, 0 insertions, 0 deletions