From patchwork Thu Mar 3 23:49:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scally X-Patchwork-Id: 15409 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 EA3F4BE08A for ; Thu, 3 Mar 2022 23:50:17 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5563F61179; Fri, 4 Mar 2022 00:50:15 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="pNXseTOJ"; dkim-atps=neutral Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5951D6047A for ; Fri, 4 Mar 2022 00:50:13 +0100 (CET) Received: by mail-wr1-x42c.google.com with SMTP id t11so10159337wrm.5 for ; Thu, 03 Mar 2022 15:50:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QnXdcX18Y/j92doHibglgqw3HiQlI30jPX9vGitTXG8=; b=pNXseTOJOh+3rvhNeTi9e+UH8FCAImsnHjH8HepO0Nrq3jjNbpi7qTKMgPNyQseMu6 d98ylz9C45NXV2arRTu5HzsHFHZSIyThV9ZymBxVQecq45WWCVLa7M8jqucpyGWRhZdX vDPjTOwL2sWGXR8b5ybK+Lbus5rUBWzbvVDGJLjLu2kHyVg/0jqo8vc+Fevo2NXtKqUo OxyzgXv+4DP3B40fyNhSvebk7zMwgROVgIAA+3ebwlKSsodRu5N9oEUujnOBKbAvcMmW zz/AIa7Tm8T2eALuy//ro/fqKNAGGLuozyvomZcelCK3DK9ZsqJ7Necww/bDk1H+VFIu ywfQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=QnXdcX18Y/j92doHibglgqw3HiQlI30jPX9vGitTXG8=; b=rNIbevlAoL5kP/uGmPzTbyXfgP7XYyvCUqk/VqZqrcPCTWjzw2yMGCQFprVZ2D3qCM FT/tyZW8tLsB/NJoD4b3X0langoQ1db48agIbUWFGZmrT/tHgqln9GOu7NaKERMHn3k1 slsGBY+JNs2rSP6UEFId4TQUv2iweidtxmsMZNZwEIZNNUlF1nYZtph0Ae7R/gOlMHjz zO19nH5vMsgB6Jk2T2qN+Qm5yYUg+Ib3PhT+f8pK4ef9xOXbQh2+k982dKQWHPXVtkDl Xf1r9RyZcfNZ0msURFXvtkkruL2cb9LX4ejdMxH7UyKOKNyXeYdJ/uqRiYjLar3UCOU0 XCSA== X-Gm-Message-State: AOAM530K860MGNWF5uNTHeUOmgnkgukX8yNJr2VMOIpWZ77NTmcZojzA jLLubCPK2LhpBbrloJlNIhXhfwP/qgBi1g== X-Google-Smtp-Source: ABdhPJyVsyCnUI+nVPj14xExTMwUY/IHmLHs/fP0TlMBqxhNNv3YKApkd8QZ9IyyiiXM8Ui1h2VOPA== X-Received: by 2002:a05:6000:2a5:b0:1f0:2e57:82ab with SMTP id l5-20020a05600002a500b001f02e5782abmr7519951wry.515.1646351413101; Thu, 03 Mar 2022 15:50:13 -0800 (PST) Received: from localhost.localdomain (cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net. [86.13.91.161]) by smtp.gmail.com with ESMTPSA id y4-20020adff144000000b001f022290737sm3079779wro.6.2022.03.03.15.50.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 15:50:12 -0800 (PST) From: Daniel Scally To: libcamera-devel@lists.libcamera.org Date: Thu, 3 Mar 2022 23:49:49 +0000 Message-Id: <20220303234956.1463551-3-djrscally@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220303234956.1463551-1-djrscally@gmail.com> References: <20220303234956.1463551-1-djrscally@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 2/9] include: linux: Add MEDIA_LNK_FL_ANCILLARY_LINK 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" Add the new media link type macro to the header so we can use it to identify the new links. This isn't handled as a sync to the upstream header because the macro is not yet upstream itself. The latest series attempting to add it being found here: https://lists.libcamera.org/pipermail/libcamera-devel/2022-March/029120.html Reviewed-by: Laurent Pinchart Signed-off-by: Daniel Scally Reviewed-by: Jean-Michel Hautbois --- Changes in v5: - None Changes in v4: - None Changes in v3: - New patch include/linux/media.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/media.h b/include/linux/media.h index 17432318..e3123d1a 100644 --- a/include/linux/media.h +++ b/include/linux/media.h @@ -222,6 +222,7 @@ struct media_pad_desc { #define MEDIA_LNK_FL_LINK_TYPE (0xf << 28) # define MEDIA_LNK_FL_DATA_LINK (0 << 28) # define MEDIA_LNK_FL_INTERFACE_LINK (1 << 28) +# define MEDIA_LNK_FL_ANCILLARY_LINK (2 << 28) struct media_link_desc { struct media_pad_desc source;