summaryrefslogtreecommitdiff
path: root/test/v4l2_device/double_open.cpp
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-01-21 11:17:44 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2019-01-22 15:15:14 +0000
commit29c3b54f0c8ec7e3aeed8971d24f939bc4bfab04 (patch)
treeffb46b0079ab5c862731b080755e0dfa554a4c03 /test/v4l2_device/double_open.cpp
parentf10f1b8bb157973053aecc3176d089aae6e276fa (diff)
libcamera: camera_manager: Return EBUSY if enumerator exists
In the case that someone calls CameraManager::start() and it has already started/enumerated, instead of returning -ENODEV, return -EBUSY. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/v4l2_device/double_open.cpp')
0 files changed, 0 insertions, 0 deletions