Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3503347ybi; Tue, 2 Jul 2019 08:50:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPs7bqyo3BhH94KloTdGqHpRkIuZXddWd84cqaVwIatfK6PrW1qPjOt2WjLR2/XUZ86ZfZ X-Received: by 2002:a63:60cc:: with SMTP id u195mr31132891pgb.13.1562082599798; Tue, 02 Jul 2019 08:49:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562082599; cv=none; d=google.com; s=arc-20160816; b=sx3N6yNTk+XzAvITj0CNA2NqsH9n4xkN4UD9fD7xK8kf9rFGs/S8T4AzHAPSnhqDcJ rfzz2rSGE0fOFzqLLqBANTocfGrxb20LhmfKbeUJFjAFS+0CPchG8hSW1TxnLH3+jTFR 6ul4+JEIItA9FoWKJASZkJvbzurDY/utO7edGH23J5tRafpC9xqh9oVgHuoTxPPc2sMx Wg1sNs35uRu2J/91iRwLHXkSc3tOAoyyNd57AI7vwzkIIkoKXb6R7dpGcFaSJPCcAOKC eAVuAAifuRZj65QEjOZvNewDXHK9nSLh9uCnSFZJjDCrhM9JWN7t6tQJNC5I8aQ81slU 5WOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9iBZXyLYoc98g8CFYAUavWsgZv8bntQeZ6XAtSGpKYk=; b=nEz1NlEkfyZ3TCY6msiGWYC5T2Iou37t/pbA49/gtSRy26k5BS8LsOaeCUjeGAsK48 y5f+3PCqEuFxoqVVICQsp63oWnI5+8lI1C82RJO9cEjvTnUajFg3Zwt0VB5C50Bm6eUU qGzAWHhizc7pr008eUM+/AjrG8rsjezMCUy8VNnboXxrSFbdsUJm1j1Mn7BzYZBh5RyW SuYCILcrk8lX8k2a3R0BGKoAV7mIla1/uarv/8BwvGDseuJWdL/WzWgFTv9ygQCXNq4c 43Tt0fQxgqBn7COeIGMZHMK2FLTUZwdAWYiz6CCy4FHY+EenOvWlaGZm8EcLk4iFJXcA iUbg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b36si13367441pla.289.2019.07.02.08.49.45; Tue, 02 Jul 2019 08:49:59 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727146AbfGBPtH (ORCPT + 99 others); Tue, 2 Jul 2019 11:49:07 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:58372 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727121AbfGBPtF (ORCPT ); Tue, 2 Jul 2019 11:49:05 -0400 Received: from turingmachine.home (unknown [IPv6:2804:431:c7f4:61e7:d711:794d:1c68:5ed3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tonyk) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 39A21289C89; Tue, 2 Jul 2019 16:49:00 +0100 (BST) From: =?UTF-8?q?Andr=C3=A9=20Almeida?= To: linux-media@vger.kernel.org Cc: mchehab@kernel.org, hverkuil@xs4all.nl, helen.koike@collabora.com, kernel@collabora.com, linux-kernel@vger.kernel.org, =?UTF-8?q?Andr=C3=A9=20Almeida?= Subject: [PATCH 2/7] media: vimc: video: Add write file operation Date: Tue, 2 Jul 2019 12:47:47 -0300 Message-Id: <20190702154752.14939-3-andrealmeid@collabora.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190702154752.14939-1-andrealmeid@collabora.com> References: <20190702154752.14939-1-andrealmeid@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add write on the list of vb2 file operations. This is required to create a V4L2 output device. Signed-off-by: André Almeida --- drivers/media/platform/vimc/vimc-video.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/vimc/vimc-video.h b/drivers/media/platform/vimc/vimc-video.h index d329345cc77f..22cb0e2dbdbb 100644 --- a/drivers/media/platform/vimc/vimc-video.h +++ b/drivers/media/platform/vimc/vimc-video.h @@ -35,6 +35,7 @@ static const struct v4l2_file_operations vimc_vid_fops = { .open = v4l2_fh_open, .release = vb2_fop_release, .read = vb2_fop_read, + .write = vb2_fop_write, .poll = vb2_fop_poll, .unlocked_ioctl = video_ioctl2, .mmap = vb2_fop_mmap, -- 2.22.0