libcamera: ipa_module: add path to module loading error message
Add an error message to tell, if an IPA module failed to load, the path to the IPA module shared object that was attempted to be loaded. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
@@ -289,6 +289,10 @@ int IPAModule::loadIPAModuleInfo()
|
||||
unmap:
|
||||
munmap(map, soSize);
|
||||
close:
|
||||
if (ret)
|
||||
LOG(IPAModule, Error)
|
||||
<< "Error loading IPA module info for " << libPath_;
|
||||
|
||||
close(fd);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user