Received: by 10.223.185.116 with SMTP id b49csp338960wrg; Mon, 19 Feb 2018 23:38:18 -0800 (PST) X-Google-Smtp-Source: AH8x227oaHEhK24O1zAdu+OlIl7OpDpTx143MQyG+4B20pdTYDD07OYhxw9rB284bXtzhjTHF8QL X-Received: by 10.99.126.84 with SMTP id o20mr14245610pgn.188.1519112298184; Mon, 19 Feb 2018 23:38:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519112298; cv=none; d=google.com; s=arc-20160816; b=f5NeqYT6DjVtF5RnhewmKzJeyza7sd7WDqJHE4NlMtS7aIc0LUeoVYG1VGrVcaGT5C cRdZhndPoWDxNgYlijtXurShxNcnBQCpdF5towB1h9h839PZfa2M/KJAhGPPTEaeQAF2 uT3i4hvrdiP5793DGEHHbqZZNh/EtYvlerFqV5S6zd0xd6qduMxq+X6j9bWgjhP2YJ7t w5XR4bqJkZv9selWkd5HvL2RHOKBuGZYzdg8/aA49u1eMrx4MiLWIeaqOjB0AhObiPSI YJc/9DJfgHPV1XAo79lAEJnUzKBPUXRh/Rx07BL2zJkmBaYGrshEvYQY48QNhaT/V4vb aUkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=5oUBlJEmX5Fq8eTeo5b6y1dYfg8EjlZlfSjE6/WpTlk=; b=Wc02kbM0DRh53p5D2a1L6LE96AsrdzgORhLdvP7fw32Lpf+EbXrjGfO2eTIV95sbIM iYdCyVj1k/HCLNvK/R+JpUPVsHLlHhV5/VgQxuuRNgVGGp6ItCO8Up/EItfFReTeea66 hLM/TVwW1Uf8Zdyl30lUNSDp/GJPNvEt1EFkQ1tLOtU/eq+lGB9wE57pq5Lhtw/CNAHd TEgEzPLgpeqTDAD6Enr3H0nh8iCYGQeQldGUycvPV64mBYCkLsG+uPsBxqg7UD5HQ/nk WugAX496VInnX/ROYfqUvQpgvIQC0025lFU0LELhAdOZt77cEsp72fXJHTnWPhbzleCW ozxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=Jo9u37Bj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si5542614pfj.124.2018.02.19.23.38.03; Mon, 19 Feb 2018 23:38:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=Jo9u37Bj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751368AbeBTHhX (ORCPT + 99 others); Tue, 20 Feb 2018 02:37:23 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33822 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985AbeBTHhU (ORCPT ); Tue, 20 Feb 2018 02:37:20 -0500 Received: by mail-wm0-f68.google.com with SMTP id a20so3283145wmd.1 for ; Mon, 19 Feb 2018 23:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5oUBlJEmX5Fq8eTeo5b6y1dYfg8EjlZlfSjE6/WpTlk=; b=Jo9u37Bjx4J7jhMlXil2pERDZTvJCirgZDZJxlZyaf2x+gHJnlvZEiVFieG6BUD3re CN2gGylL7SWrMz/uFQe4aRxRCmnzazpfBlVGRkYpmpBqUZvjbnQZQkR4LDq1naVj6Ez3 dcUh3aeg5KeFSwhITlaiCssKG0lxwnj2HLtgkpu68Me1tsWMnyFR7kkOPpJrxHewMGl/ jPv15DWu17WduO+88sQkUIP7e2rawF3mO7uFR4sBMniLiEpOH5Kp7lw+XfUTyZJKi7/J M71Y0JVbpchVhPltrDjXODhIOugJ0Q4wW5JJJPmnFEeVjIFBJZBYYHswJT85MOzIDY7F cGFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5oUBlJEmX5Fq8eTeo5b6y1dYfg8EjlZlfSjE6/WpTlk=; b=bdLJP8MGJ9vpx+/f2XAOEs7ZysU9nH4sscw4KHpsHkn6bLMXRkK7Za5t4V1qnADDw2 2Nmav3BxNVHaivoMGqrdXIIG4XDzDeLDoL8KY6THDUHSuCgHl1llmUfe6FYA1gWDKMMQ UMRGuH2x64fy1LBCOE+kEbQPCBDBlH/Rg6szrMlCOEbmWsRClXRfNR0Uf3UHc0ea3q5h nXweXeTzfuOLIhMVDWr4K0sKkJwt/2crJA5M2S6kBfGb9dooeTbqAxnJaEbn6UBNCJGL Xgmztg8jluO5FVWdOGfQDvrbS4URBFWWoihFO+o0gte7fpWamzKfqBF7a4/sPWYw15Vu t4RQ== X-Gm-Message-State: APf1xPCh1i+31TUys7Jo3w0WAjx9CXS/xR6NKU+96zKawJG0/j4o2MNt AN+wMj9gsUiYa6L902yH2yBomzs/t3TAPbOpCBjx1w== X-Received: by 10.28.235.4 with SMTP id j4mr2488776wmh.52.1519112239159; Mon, 19 Feb 2018 23:37:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.195.139 with HTTP; Mon, 19 Feb 2018 23:36:38 -0800 (PST) In-Reply-To: <20180220044425.169493-10-acourbot@chromium.org> References: <20180220044425.169493-1-acourbot@chromium.org> <20180220044425.169493-10-acourbot@chromium.org> From: Philippe Ombredanne Date: Tue, 20 Feb 2018 08:36:38 +0100 Message-ID: Subject: Re: [RFCv4 09/21] v4l2: add request API support To: Alexandre Courbot Cc: Mauro Carvalho Chehab , Hans Verkuil , Laurent Pinchart , Pawel Osciak , Marek Szyprowski , Tomasz Figa , Sakari Ailus , Gustavo Padovan , Linux Media Mailing List , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 20, 2018 at 5:44 AM, Alexandre Courbot wrote: > Add a v4l2 request entity data structure that takes care of storing the > request-related state of a V4L2 device ; in this case, its controls. > > Signed-off-by: Alexandre Courbot > --- /dev/null > +++ b/drivers/media/v4l2-core/v4l2-request.c > @@ -0,0 +1,178 @@ > +/* > + * Media requests support for V4L2 > + * > + * Copyright (C) 2018, The Chromium OS Authors. All rights reserved. > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + */ Do you mind using SPDX tags per [1] rather that this fine but long legalese. (Here and in the whole patch series) [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/license-rules.rst -- Cordially Philippe Ombredanne