From patchwork Sun Mar 28 17:03:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Fricke X-Patchwork-Id: 11742 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 95265C32ED for ; Sun, 28 Mar 2021 17:03:34 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0B0166877F; Sun, 28 Mar 2021 19:03:34 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=posteo.net header.i=@posteo.net header.b="VEKlLPjo"; dkim-atps=neutral Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 119736084F for ; Sun, 28 Mar 2021 19:03:33 +0200 (CEST) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 6F25D2400FB for ; Sun, 28 Mar 2021 19:03:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1616951012; bh=ZWbAYLLCEhklBMiQBFr3nm7kcRAGTAd8tBrPmdwZe8c=; h=From:To:Cc:Subject:Date:From; b=VEKlLPjouoCKwCCZRyxiSx/T728KRpCwFRhcRMpNQNENTXi/oSVAsSZetlxV0B9KC EFabJzIK0QvgCGmIsxNVTfaDBHJx6Tnlw+2NVjDjOaNFYembrkrHK4Q26xxWKD/YTd VzYFOJxZEKVtX6ThnaVT3+c+CqA/Kpu3HYZSc5Awlsnbc5/ogW2EXSVyZTWc+B5FwE DgdfMfbrCZXgxnByRqgfhxKaWJt0oHd3l5IOLsIyZdjJ9dHRp7y/kRLZdl0Ka4RCh8 HlnS+AG5AsVVoKRXCrnzM6BfhmGpxhConj6clLW+0Jv9ddXGygdTiDPx5KWH0JQ7Ru urMpThLA4KuNw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4F7hqm0yJlz6tm6; Sun, 28 Mar 2021 19:03:32 +0200 (CEST) From: Sebastian Fricke To: libcamera-devel@lists.libcamera.org Date: Sun, 28 Mar 2021 19:03:03 +0200 Message-Id: <20210328170302.36104-1-sebastian.fricke@posteo.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] ipa: raspberrypi: Fix typo and improve wording 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" s/Return the validated limits out though metadata./ Return the validated limits via metadata./ Signed-off-by: Sebastian Fricke Reviewed-by: Laurent Pinchart Reviewed-by: Naushir Patuck --- It is probably debatable, if we should remove that comment completely, as the code is quite self explanatory. But it might help. --- src/ipa/raspberrypi/raspberrypi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp index ed2d9a54..dad6395f 100644 --- a/src/ipa/raspberrypi/raspberrypi.cpp +++ b/src/ipa/raspberrypi/raspberrypi.cpp @@ -1066,7 +1066,7 @@ void IPARPi::applyFrameDurations(double minFrameDuration, double maxFrameDuratio minSensorFrameDuration, maxSensorFrameDuration); maxFrameDuration_ = std::max(maxFrameDuration_, minFrameDuration_); - /* Return the validated limits out though metadata. */ + /* Return the validated limits via metadata. */ libcameraMetadata_.set(controls::FrameDurations, { static_cast(minFrameDuration_), static_cast(maxFrameDuration_) });