[PATCH v2 3/6] libcamera: mali-c55: Init camera properties

Jacopo Mondi jacopo.mondi at ideasonboard.com
Tue Jun 25 21:04:16 CEST 2024


From: Daniel Scally <dan.scally at ideasonboard.com>

Initialise the camera properties using the CameraSensor properties.

Signed-off-by: Daniel Scally <dan.scally at ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 src/libcamera/pipeline/mali-c55/mali-c55.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libcamera/pipeline/mali-c55/mali-c55.cpp b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
index 91f2ebd6fd26..796e2ca60e94 100644
--- a/src/libcamera/pipeline/mali-c55/mali-c55.cpp
+++ b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
@@ -966,7 +966,7 @@ bool PipelineHandlerMaliC55::registerSensorCamera(MediaLink *ispLink)
 		if (data->init())
 			return false;
 
-		/* \todo: Init properties and controls. */
+		data->properties_ = data->sensor_->properties();
 
 		registerMaliCamera(std::move(data), sensor->name());
 	}
-- 
2.45.2



More information about the libcamera-devel mailing list