ipa: ipu3: Support return values from configure()
The IPU3 IPA interface does not define a return value from configure(). This prevents errors from being reported back to the pipeline handler when they occur in the IPA. Update the IPU3 IPA interface and add return values to the checks in IPAIPU3::configure() accordingly Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -642,7 +642,11 @@ int PipelineHandlerIPU3::configure(Camera *camera, CameraConfiguration *c)
|
||||
configInfo.bdsOutputSize = config->imguConfig().bds;
|
||||
configInfo.iif = config->imguConfig().iif;
|
||||
|
||||
data->ipa_->configure(configInfo);
|
||||
ret = data->ipa_->configure(configInfo);
|
||||
if (ret) {
|
||||
LOG(IPU3, Error) << "Failed to configure IPA";
|
||||
return ret;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user