summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-02-05 14:21:47 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-02-09 21:40:41 +0200
commitfb344abda93cdf6f459a71d9829fcf4777a1284a (patch)
treecff1bf682883daf7782f945d820781237b43f4ae
parente72b121d65a6c23a37a12776b777d2eee776dcc6 (diff)
libcamera: camera_sensor: Demote flip support message to Debug
The CameraSensor::validateSensorDriver() function prints a Warning message when the camera sensor doesn't support flips. We don't mandate flip support and can run without it without any problem, so a warning is too harsh. Demote it to a Debug message. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
-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 b772337e..11117502 100644
--- a/src/libcamera/camera_sensor.cpp
+++ b/src/libcamera/camera_sensor.cpp
@@ -261,7 +261,7 @@ int CameraSensor::validateSensorDriver()
supportFlips_ = true;
if (!supportFlips_)
- LOG(CameraSensor, Warning)
+ LOG(CameraSensor, Debug)
<< "Camera sensor does not support horizontal/vertical flip";
/*