summaryrefslogtreecommitdiff
path: root/include/libcamera
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-09-26 02:24:36 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-01-17 19:36:47 +0200
commitdf770d4b0a6dc11569beb225b7f47aaaa3863269 (patch)
treea1634998db6379a07436a23efaedaf3305a6af50 /include/libcamera
parent439cfe7fbd1b854db63900225e526f9a3a4ac08d (diff)
include: linux: Update kernel headers to version v6.7
Update kernel headers to v6.7 using utils/update-kernel-headers.sh and re-instating libcamera local modifications. The V4L2_SUBDEV_CAP_MPLEXED flag has been renamed to V4L2_SUBDEV_CAP_STREAMS in the upstream streams API. Adapt the code base accordingly. The flag's numerical value hasn't changed, there is no ABI breakage introduced by the API update. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/libcamera')
-rw-r--r--include/libcamera/internal/v4l2_subdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/internal/v4l2_subdevice.h b/include/libcamera/internal/v4l2_subdevice.h
index 69862de0..17db311b 100644
--- a/include/libcamera/internal/v4l2_subdevice.h
+++ b/include/libcamera/internal/v4l2_subdevice.h
@@ -36,7 +36,7 @@ struct V4L2SubdeviceCapability final : v4l2_subdev_capability {
}
bool hasStreams() const
{
- return capabilities & V4L2_SUBDEV_CAP_MPLEXED;
+ return capabilities & V4L2_SUBDEV_CAP_STREAMS;
}
};