ipa: rkisp1: Return error from IPA's configure method if it fails
The IPA of rkisp1 relies on some of the camera's controls. Therefore it can't work if those controls are not given. Return -EINVAL from 'configure' in that case. Also return error from the pipeline's 'configure' method if the IPA configure fails. Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
3b338aa5e7
commit
f4fe8cf588
@@ -31,7 +31,7 @@ interface IPARkISP1Interface {
|
||||
|
||||
configure(CameraSensorInfo sensorInfo,
|
||||
map<uint32, IPAStream> streamConfig,
|
||||
map<uint32, ControlInfoMap> entityControls) => ();
|
||||
map<uint32, ControlInfoMap> entityControls) => (int32 ret);
|
||||
|
||||
mapBuffers(array<IPABuffer> buffers);
|
||||
unmapBuffers(array<uint32> ids);
|
||||
|
||||
Reference in New Issue
Block a user