libcamera: ipa_manager: Fix IPA module min/max version check
The IPAManager::createIPA() function has its minVersion and maxVersion parameters inverted. This doesn't cause any issue at the moment as both the minimum and maximum version are set to 1 by all callers, but it's still a bug. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
@@ -31,8 +31,8 @@ public:
|
||||
|
||||
template<typename T>
|
||||
static std::unique_ptr<T> createIPA(PipelineHandler *pipe,
|
||||
uint32_t maxVersion,
|
||||
uint32_t minVersion)
|
||||
uint32_t minVersion,
|
||||
uint32_t maxVersion)
|
||||
{
|
||||
IPAModule *m = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user