From patchwork Mon Feb 6 17:03:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 18255 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 200B8C324D for ; Mon, 6 Feb 2023 17:04:02 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B74E5625F8; Mon, 6 Feb 2023 18:04:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1675703041; bh=3zkbHBkMwNqbmBaUC3eizRzKB3rzKck0Um3MDuTgJpA=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=jVpExFO5w7vtiBXD51xVKQve8q5wBfVyaT016pFeCgV/GNreVfIebahgspe6q+CQN hTZ0y3wW+Cva1142ubCkqHxCiZvTSTcvjyxZPQydy8h2byR96O03nOHDCd3S+khE6k 4sZ3gzuqOAXR0aQUc6xdASVt1Bn9Bh5jo/FM+AI0ii8oLGJWvAxYMM8axUOqYGBBHv OKsiUH7ykZGyeIJ5CwZoW1YCLc8v/shtsHwgFT5XEcxn8kB6/d/+dc5QvDt6IGdM6L eAI+1efyEooMexS/GXvl772/F/FwNjbiS14+2zVEI+BN73COH5oyaMusKXOVEgEjx6 7Ys70F6z85n0A== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B828E61EF4 for ; Mon, 6 Feb 2023 18:03:59 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="R36MTtk+"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (unknown [109.136.43.56]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 60B674DA for ; Mon, 6 Feb 2023 18:03:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1675703039; bh=3zkbHBkMwNqbmBaUC3eizRzKB3rzKck0Um3MDuTgJpA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=R36MTtk+K4JIdJDT3WYIqiAgf31V8nOJCqxu+feqbNH0tmzq5uEgVas15NHmCNoSl NYrdhKemzTID3jthkBWibMgPFf+MYPItCiE9gsVGYae7LlvOqx3xddItHruIjkv1CH 8E+8SS7snYMexwERwzwuzkPIe1Ys9kU/io1GQp8Y= To: libcamera-devel@lists.libcamera.org Date: Mon, 6 Feb 2023 19:03:53 +0200 Message-Id: <20230206170356.20340-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230206170356.20340-1-laurent.pinchart@ideasonboard.com> References: <20230206170356.20340-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 1/4] libcamera: camera_sensor: Demote flip support message to Debug X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 Reviewed-by: Umang Jain --- src/libcamera/camera_sensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/camera_sensor.cpp b/src/libcamera/camera_sensor.cpp index b772337eb44a..11117502d817 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"; /*