libtuning: Handle cases, where no lsc tuning images are present

Make it clear that no lsc calibration was done by returning None instead
of a incomplete configuration.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
Stefan Klug 2024-06-11 14:51:27 +02:00
parent 721b976928
commit 54a8405726

View file

@ -107,6 +107,9 @@ class LSCRkISP1(LSC):
output['sets'] = self._do_all_lsc(images)
if len(output['sets']) == 0:
return None
# \todo Validate images from greyscale camera and force grescale mode
# \todo Debug functionality