summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/pipeline/ipu3/ipu3.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index 519cad4f..51446fcf 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -1145,7 +1145,11 @@ int IPU3CameraData::loadIPA()
ipa_->queueFrameAction.connect(this, &IPU3CameraData::queueFrameAction);
CameraSensor *sensor = cio2_.sensor();
- ipa_->init(IPASettings{ "", sensor->model() });
+ int ret = ipa_->init(IPASettings{ "", sensor->model() });
+ if (ret) {
+ LOG(IPU3, Error) << "Failed to initialise the IPU3 IPA";
+ return ret;
+ }
return 0;
}