diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-14 14:30:52 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-18 02:15:21 +0200 |
commit | 68daa9302f90833ce345cb33ffcf075f23cbfc9a (patch) | |
tree | c03db4fad3a976087220d12d9b0bd272f979836d /test/controls/control_range.cpp | |
parent | 475f9b9b02d42318b8cdf17505fb2f5d546c04b5 (diff) |
libcamera: device_enumerator: Don't stop if one device fails
If one device fails to enumerate, which isn't supposed to happen under
normal conditions, both the sysfs and the udev enumerators stop
enumeration of further devices. This potentially prevents working
devices from being detected and handled. Fix it by skipping the faulty
device.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/controls/control_range.cpp')
0 files changed, 0 insertions, 0 deletions