summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-04-13 17:45:36 +0200
committerJacopo Mondi <jacopo@jmondi.org>2021-04-15 15:52:53 +0200
commitc3269524e46d1c4a227c33c8f44940efc43b8cc2 (patch)
treefc550bfb3d639c410154e8b63a245e8ab3897c9d
parent47a159234f5fc0c166baba430e4b38cd096f1d3b (diff)
libcamera: camera_sensor: Demote error message
The CameraSensor class is noisy enough in reporting the missing sensor driver features. Demote an error message about defaulting the active sensor area when retrieving the camera sensor info to a warning. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r--src/libcamera/camera_sensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/camera_sensor.cpp b/src/libcamera/camera_sensor.cpp
index f7ed91d9..2887bb69 100644
--- a/src/libcamera/camera_sensor.cpp
+++ b/src/libcamera/camera_sensor.cpp
@@ -774,7 +774,7 @@ int CameraSensor::sensorInfo(CameraSensorInfo *info) const
int ret = subdev_->getSelection(pad_, V4L2_SEL_TGT_CROP, &info->analogCrop);
if (ret) {
info->analogCrop = activeArea_;
- LOG(CameraSensor, Error)
+ LOG(CameraSensor, Warning)
<< "The analogue crop rectangle has been defaulted to the active area size";
}