From patchwork Wed Jan 27 11:47:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 11033 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 C1BBEC0F2B for ; Wed, 27 Jan 2021 11:47:59 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 54E3F68373; Wed, 27 Jan 2021 12:47:59 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="RSOIdshz"; dkim-atps=neutral Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 746D260F2F for ; Wed, 27 Jan 2021 12:47:57 +0100 (CET) Received: by mail-ed1-x52a.google.com with SMTP id d2so2088845edz.3 for ; Wed, 27 Jan 2021 03:47:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EFztWFYmHECF8fwRSPSPvHQqo8CtnBpqvPKOyBfPiEA=; b=RSOIdshzkpaG2EDklFymE8MMTa6LJ7fp/clfaT6Nb6jSFIyiO6nXZ4VAIuPAG/+Ajy FEPzNf2tqdhTQXMvwzCG53OHPPkguU6oVho8nUPzHA3YmBrsz4c0PLmep0vqBg6L7EWC 3L0GGLFwrHPnQkQLPkOcb2+4ntYW/R7hI24wFBUF9dkCuStaZCtZ9dTN9mtPxJhQEJhj J/00GFV0QDJbzJlFU/+XEe/BTkU+XLtuIvDaAtyNQLTAxQtjVD8pdiNOn+JWdp9rdEUv CA45LKhMYMFIf+SZZ90sPYdltAuuF/JmD7IFa5WjZ3M1GMd62dx++3W4HIVMXKg5kyVW UYrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EFztWFYmHECF8fwRSPSPvHQqo8CtnBpqvPKOyBfPiEA=; b=Z+Dsa65wM5yVIO3EtPWq3hYalBMcCe44YDaqlY5ZmGPdckWuv4D5vxR92BmHTo0o1K q4PoN/GL/h6El1WvsX+u/BG98fiE+sgRO9rmfnNGOVLOxC9wvX5W9OxDToCJCHjRoY24 0eRbgGiyEf5+O8Ad7Dz43rCf+mLwQFoF643mhSGEUnqDmG65PoMNzCJXC+KDn9mthNCf hSGgbZ0z95/pdny1wtTxdTjr52LrLFgex+KG1nQsJWJc65+dAm8BvfgZHgvYKuCwkhip PAAGXKcCBmGCFtgemLX1tg/nxaNSRz/28OsiQYC53+xvNc8xo0BfmANnuRdf3rDMFNbg eVZw== X-Gm-Message-State: AOAM532PFh/DPRjha57N00V+BXHPrsSfRCYW+8EjYwl6o9fGIw+eZvNp 3S199gKVLWrVGzqfxH0Qi6a0wNugova5r86E X-Google-Smtp-Source: ABdhPJzmUR/GIY8fd3sMYVto9gAbyB5MS0T6Kvmz03vBd/y9yzMhzdF/gu7dgdsiyNs5kGwd+YB4+w== X-Received: by 2002:a05:6402:22db:: with SMTP id dm27mr8863387edb.379.1611748076911; Wed, 27 Jan 2021 03:47:56 -0800 (PST) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id x20sm686342ejv.66.2021.01.27.03.47.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 03:47:56 -0800 (PST) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Wed, 27 Jan 2021 11:47:54 +0000 Message-Id: <20210127114754.16732-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] ipa: raspberrypi: alsc: Fix copy-paste error in debug statement 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" Signed-off-by: David Plowman Reviewed-by: Kieran Bingham --- src/ipa/raspberrypi/controller/rpi/alsc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/raspberrypi/controller/rpi/alsc.cpp b/src/ipa/raspberrypi/controller/rpi/alsc.cpp index 5262bcab..b0d24aa2 100644 --- a/src/ipa/raspberrypi/controller/rpi/alsc.cpp +++ b/src/ipa/raspberrypi/controller/rpi/alsc.cpp @@ -403,7 +403,7 @@ void get_cal_table(double ct, std::vector const &calibrations, memcpy(cal_table, calibrations.back().table, XY * sizeof(double)); LOG(RPiAlsc, Debug) << "using calibration for " - << calibrations.front().ct; + << calibrations.back().ct; } else { int idx = 0; while (ct > calibrations[idx + 1].ct)