ipa: Add sensor model string to IPASettings
Pass the sensor model string to the IPA init() method through the IPASettings structure. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
500c9a1f98
commit
ff9f60ce3f
5 changed files with 21 additions and 11 deletions
|
@ -104,7 +104,7 @@ protected:
|
|||
|
||||
/* Test initialization of IPA module. */
|
||||
std::string conf = ipa_->configurationFile("vimc.conf");
|
||||
int ret = ipa_->init(IPASettings{ conf });
|
||||
int ret = ipa_->init(IPASettings{ conf, "vimc" });
|
||||
if (ret < 0) {
|
||||
cerr << "IPA interface init() failed" << endl;
|
||||
return TestFail;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue