From patchwork Mon Jan 31 22:33:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scally X-Patchwork-Id: 15307 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 00B5ABF415 for ; Mon, 31 Jan 2022 22:33:47 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A4633609E3; Mon, 31 Jan 2022 23:33:46 +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="UKrwvxyp"; dkim-atps=neutral Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BC2B8609C3 for ; Mon, 31 Jan 2022 23:33:43 +0100 (CET) Received: by mail-wr1-x42b.google.com with SMTP id e8so28326343wrc.0 for ; Mon, 31 Jan 2022 14:33:43 -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=RLz+Cbyz3ajt5SvJ7TpoTQLuzbG5xQOjWLQ9MMiMDm8=; b=UKrwvxypg0h2pvOyPFvNWPsjhjjCPJGDt83Ma6bSZ0PIDzDnYcGEJ6nJjzQgETAwsz lJmv9PAKubjwb2FiRloirBGrhLdWZzN48R3bOzVMySJoA+p+XZw53uqvtYAZZcwvZizD ePV/lBI4UJacxAkZFI0zR8rdI94jkR6oXH2KnSJTqLd7RE8TzinnjUzyFlxKDfXsBnVs BxPEhU7s7zzAYs3VDO8cVNz7iHfTEETbULiayI3M7XOvSrCRZLKfIoZaOYCXKg0QhHCv MCK98YZKJZ17cAVZf8dR4lArO8ohlPndC6K7OJ3dpmgUll5XPRZyrllyqzwGVCr+mo5t /pgQ== 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=RLz+Cbyz3ajt5SvJ7TpoTQLuzbG5xQOjWLQ9MMiMDm8=; b=4GmhyPMLbbhNwXWGjsEReCE6PtjM5xFWf/RbxFZS4e/6/ExUDY54TNT0E7BHFVesdv 7VV5dWWuk7uNC/ltDfuhJw7+1fuMwkZHoB1nBZV5obx7AXuzCUOmoolEtmsEBJ7HsQmf oFxXbLruPMBR8QUjbfLaFyErqYLLeholNqULewphIOp+WshTLJyIYQAEn+07OtGq8CCt gcSRQGpHhO+jjFCljVcEGMuYgpt3FMjBYULxI0QfrjEMwICMBALiwxAikKC8lR/YTJcF hbLIN4pFxor6fwrTYCwWg7sBtATIM1nIqWM7kGYX8zrggTsE36a/XkyDW4HlGqngdT17 A65A== X-Gm-Message-State: AOAM5303Cn/F5i+jdGdA4P5lfqAjIMy6zeBBX3LjOOU3tRuPcT/KndFi YpMCtgP0BreTpaE05mvHYmNoo0wFe9o= X-Google-Smtp-Source: ABdhPJxQUlYlIho9OiepNegH7+ZK01A3Xf6f3HG6oGLUf1/Ack+v9M18yrSP1s1BdAVxbRUoOUEQ1w== X-Received: by 2002:a05:6000:1107:: with SMTP id z7mr19104929wrw.189.1643668423487; Mon, 31 Jan 2022 14:33:43 -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 q2sm6986740wrw.14.2022.01.31.14.33.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 14:33:43 -0800 (PST) From: Daniel Scally To: libcamera-devel@lists.libcamera.org Date: Mon, 31 Jan 2022 22:33:23 +0000 Message-Id: <20220131223330.61563-3-djrscally@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220131223330.61563-1-djrscally@gmail.com> References: <20220131223330.61563-1-djrscally@gmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 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://lore.kernel.org/linux-media/20220130235821.48076-1-djrscally@gmail.com/ Reviewed-by: Laurent Pinchart Signed-off-by: Daniel Scally --- 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;