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:
Paul Elder 2019-06-05 16:54:45 -04:00
parent 83e3300a2d
commit d68a29771f

View file

@ -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;
}