ipa: Name IPA modules after their source directory

The IPAModuleInfo::name field is currently a free-formed string that has
little use. Tighten its usage rules to make it suitable for building
file system paths to IPA-specific resources by matching the directory
name of the IPA module.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2020-04-27 04:09:42 +03:00
parent 256d0a4098
commit 6e1cd1394e
4 changed files with 23 additions and 3 deletions

View file

@ -126,7 +126,7 @@ const struct IPAModuleInfo ipaModuleInfo = {
IPA_MODULE_API_VERSION,
0,
"PipelineHandlerVimc",
"Dummy IPA for Vimc",
"vimc",
};
struct ipa_context *ipaCreate()