summaryrefslogtreecommitdiff
path: root/test/signal.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-01-31 19:35:44 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-05 01:24:35 +0200
commit79266225d2af742195f99be7c91c7d5356f7eb78 (patch)
treeec065a385d91150f163d132ad148e78c58693cca /test/signal.cpp
parent5e1f0d8b54ab27fdbf3dbc202af1b63bf4eb10da (diff)
libcamera: camera_sensor: Check control availability from idmap
The presence of mandatory and optional controls is checked in CameraSensor::validateSensorDriver() by trying to retrieve them. This causes an error message to be printed in the V4L2Device class if an optional control isn't present, while this isn't an error. To fix this, use the control idmap reported by the V4L2Device to check for controls availability. The function can now print the whole list of missing controls, making debugging easier. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/signal.cpp')
0 files changed, 0 insertions, 0 deletions