From patchwork Tue Nov 23 13:10:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 14710 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 056E1BF415 for ; Tue, 23 Nov 2021 13:11:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 291EE6033C; Tue, 23 Nov 2021 14:11:16 +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="ZDxngqlb"; dkim-atps=neutral Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7058060121 for ; Tue, 23 Nov 2021 14:11:14 +0100 (CET) Received: by mail-wm1-x332.google.com with SMTP id p27-20020a05600c1d9b00b0033bf8532855so1938707wms.3 for ; Tue, 23 Nov 2021 05:11:14 -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=kan8RAGwGbecIvXyd6ot3DXxAkcSHkuCZefGBtDD8kw=; b=ZDxngqlbeWqE5LcObQm0OkancA7BxYvP6YNt7TNFj924eufRG4LcGGXrgjtC6zUjO/ HwL0Of+f787tqUz7ChI6B1JhXlpvC7AWThz1XeKcnO74vigwSm1qaTiwL2ylP6Muyh5P jzRa/+9XCN2AmMaJtZcPRlggeNCkdch2BfEPwQBEk+yTJykKujrYxRUFUWN85IVf/Vfr 7Dtwjntcb7itPeKF41fNUWctYyV9XB2fEeb9avRPudupzPlBCJSQiC1bJDcZakJffqg7 KKalQFHdEVQWetgz7tR2wQEmi43F3Yyus+SeL8siHtX37GDxR0IJFvG+fiTCejqquMJj 2p0A== 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=kan8RAGwGbecIvXyd6ot3DXxAkcSHkuCZefGBtDD8kw=; b=kpL//OIFyCa4FAEqsqIkFt/3MtMuTm/CFK+Wgoekga1kfvHLSqxMo/gEj1E1xq+Umu 4Bas5Znph5yVrGzcymIgrJFoEOhzZ0DQc/e8b0HjFHXoTFD0rdElQ/6QKz4ft9ujFpvE re/bQgMtWErilqNsmExWOK/ffO3ERaF6Ol/sZPaPHOP1GB+J/3BmtnKsqV31iBTy1lUW vsWCTm/rlwhcZyHHITN8XzOLmQ4mJfK4JItLJAfBIdtE1DMOO7xuT13uDK36oM7yyqVy 6E/W8ra6M/CtpM9F9ws4Tz1frJP4m/t8Dlj2gUnH0h+9ebNcsOsmz4zL9Wnks0KDDuM1 qt7A== X-Gm-Message-State: AOAM533fqZ0AV7JYYD9gm02ogGMbHfOjhya7ArThjRBP38DMmsUswgLA KJrOUoVJuSSgxoXRhMts8XLQgYa0G3Xs6m20 X-Google-Smtp-Source: ABdhPJzQXWQmTdsemk0d6zk3l7R9hvh6xfsdNqEDK5T5sJpFabtXBIfzI6AKgEGtvazlP7KtIp/xmQ== X-Received: by 2002:a05:600c:3486:: with SMTP id a6mr2999485wmq.32.1637673073527; Tue, 23 Nov 2021 05:11:13 -0800 (PST) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:34c6:a31e:c2e1:260d]) by smtp.gmail.com with ESMTPSA id b197sm1106142wmb.24.2021.11.23.05.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 05:11:12 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Tue, 23 Nov 2021 13:10:38 +0000 Message-Id: <20211123131040.1542581-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/2] Raspberry Pi: Multi-camera changes 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" Hi, We have come full circle with this series. What began as changes to enable multi-camera support are now just some tidy-ups :-) After Laurent's explanation, it turns out the original code would correctly handle multiple camera registration, and the changes were not needed. Never-the-less, this change tidy up the code a bit, so may as well be put in. Thanks, Naush Naushir Patuck (2): pipeline: raspberrypi: Split out device enumeration and camera registration pipeline: raspberrypi: Tidy the camera enumeration and registration logic .../pipeline/raspberrypi/raspberrypi.cpp | 90 ++++++++++++------- 1 file changed, 56 insertions(+), 34 deletions(-)