ipa: Pass IPA initialization settings to IPAInterface::init()
Add a new IPASettings class to pass IPA initialization settings through the IPAInterface::init() method. The settings currently only contain the name of a configuration file, and are expected to be extended later. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -98,7 +98,8 @@ protected:
|
||||
}
|
||||
|
||||
/* Test initialization of IPA module. */
|
||||
ipa_->init();
|
||||
IPASettings settings;
|
||||
ipa_->init(settings);
|
||||
timer.start(1000);
|
||||
while (timer.isRunning() && trace_ != IPAOperationInit)
|
||||
dispatcher->processEvents();
|
||||
|
||||
Reference in New Issue
Block a user