summaryrefslogtreecommitdiff
path: root/licenses/gnu-lgpl-2.1.txt
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-25 23:35:23 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-26 10:54:43 +0200
commite4d2dcc54971bc877f0d12a3af964d410515a997 (patch)
tree3112d22c1af305bfa660949a12ed6c63ca129fa2 /licenses/gnu-lgpl-2.1.txt
parentac0a3d7fb678cc35857d3e4a49bedd6a7d69b57c (diff)
libcamera: media_device: Fallback to legacy ioctls on older kernels
Prior to kernel v4.19, the MEDIA_IOC_G_TOPOLOGY ioctl didn't expose entity flags. Fallback to calling MEDIA_IOC_ENUM_ENTITIES for each entity to retrieve the flags in that case. Fixes: 67d313240c9b ("libcamera: pipeline: uvcvideo: create a V4L2Device for the default video entity") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'licenses/gnu-lgpl-2.1.txt')
0 files changed, 0 insertions, 0 deletions