diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-01-21 11:17:44 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-01-22 15:15:14 +0000 |
commit | 29c3b54f0c8ec7e3aeed8971d24f939bc4bfab04 (patch) | |
tree | ffb46b0079ab5c862731b080755e0dfa554a4c03 /test/media_device | |
parent | f10f1b8bb157973053aecc3176d089aae6e276fa (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/media_device')
0 files changed, 0 insertions, 0 deletions