From patchwork Mon Jun 6 08:58:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 16176 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 BD08DBD160 for ; Mon, 6 Jun 2022 08:58:53 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7E0D7633A4; Mon, 6 Jun 2022 10:58:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1654505933; bh=2x2QNmBTZXHEQ6/w8gn/BxJLVzoQDs2d28+5WPLxP/U=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=3Zn+gXhDJaBl24HVpSVO6Yzz9Bwg1P876omq3JnZJbI8KoaItZO/eldwshc3ILBcd fONTf+UOjS9MeZ0h15HJEOQx4UUc62kLMwhE4BJOSmvMwoQb9j+KPIeNYXZaFtHy1S 629bTEIy13I9IHOkIXKAZuLwrq1BoQW3gcN5FrSV6HA98qt1BfGI5xk8Prn74U/Z2N PVkfhM/+aIKSsbn0AHAAH2i5ihECYUAZ27pjk/TZx8IbHfnFRjuwnNy1icgnyipniu NNYVHDjeJxDvIx6J9Be0mOSMwD3M220Bz2tMEURaEQE0Sf/ItFrzz+PqaqDAUtfiNY bjNYspiZnro2w== Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 873C1633A4 for ; Mon, 6 Jun 2022 10:58:51 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="tca5nvN+"; dkim-atps=neutral Received: by mail-wm1-x32f.google.com with SMTP id c5-20020a1c3505000000b0038e37907b5bso9670192wma.0 for ; Mon, 06 Jun 2022 01:58:51 -0700 (PDT) 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=IKLjnhRLFHZNuXXRarWef7/f5dUDK8cw5YKlqzAL5o4=; b=tca5nvN+58gksujhuqAgYc/FRc2o1nHvvtg3g5kr7NbiRAf5mMACwxvyBJhAqI5YY2 32woYL9i5bhd76LyYfrU1U5VsMwcDN/tUfzWWi7MnJS19hUrf/qALhAanX0j1wD3UNjK ZQIO6BL93G33WZvT7tEIzdtkzQAbGaANSeJIdzfC8ADjK/IwV2eR1Ic5uF2vzZLKXz2i s6+gI/u9prgBqyZIHSo9H65EpBXHayEKbfie/d49LwFM6S+4600lQYM5KQUdq0sQOIqD Ri43ZaHkYxVBoOCMzvuI4VnhZtgPazqoCy7aqp3CgKFJoO96oAPPqVMp1RYEzJaZ0xiI XRmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IKLjnhRLFHZNuXXRarWef7/f5dUDK8cw5YKlqzAL5o4=; b=CXIryUoGHFJIpiXdVLmi1zFMUcct21hl5MXn7HslcsZfbCRCl2lIstOTKzpe6qnrfJ urzPcli72gNAtLs3tUKRlSugBrCKZharkWD9THmagJSp25rXkg4iub0p9b3O2Utkcc7n khBljjFCL2moVcykmNow6HSMxn/0ORaZ7OJidC3yEsxGQdxHnOTHzDvVYyqYrO6mK8gw k+xkcQ3T1vA7Ctqw4ioSfHMorclzWDWb+Liaa4A7GoCr4e8nyDQItGZRbL9FswwWtTkA kLFKK3+fDbsLwKUZuJuFybOsFrCJ+bl8vJnNvxzLFjaM3IAVM92SWo7yhmeW20V1Ivrh BgUA== X-Gm-Message-State: AOAM531dZn3/MhCKKrMcDCSqwQ5eW0qRfVnTfHHR09BJ5kuqCBlMSKgO pqTlrbYXO0O4pDzoCjETlGDd1iNGqVhb4w== X-Google-Smtp-Source: ABdhPJzcF5Y7sVMAfyurOnBKX2HjXGZsRHNKHPFA4Fj2gt2z992zsF78D0GJCrUe3LsF5xlJ+4Sf4A== X-Received: by 2002:a1c:f70b:0:b0:39c:4cad:595d with SMTP id v11-20020a1cf70b000000b0039c4cad595dmr6283671wmh.39.1654505930975; Mon, 06 Jun 2022 01:58:50 -0700 (PDT) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:e73c:a66f:e321:48cf]) by smtp.gmail.com with ESMTPSA id p8-20020a1c5448000000b003942a244ed7sm16315565wmi.28.2022.06.06.01.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 01:58:50 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Mon, 6 Jun 2022 09:58:24 +0100 Message-Id: <20220606085825.1145654-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/1] Suppress test pattern error message 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: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, This patch is a rework of https://patchwork.libcamera.org/patch/15362/ with Laurent's suggestion of moving the error log statement from applyTestPatternMode to setTestPatternMode to suppress the message when initialising the sensor. Regards, Naush Naushir Patuck (1): camera_sensor: Suppress error message if test patterns are unavailable src/libcamera/camera_sensor.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)