Message ID | 20171031164544.2401-1-m.szyprowski@samsung.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4137350qgn; Tue, 31 Oct 2017 09:46:00 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QiB2l7zPTgtmia2hoOdqCZ4zrXyiSBH6xwSw2LU1rPy4YNwbAzN/uHzA0w9mEjqWD4oWSq X-Received: by 10.98.242.13 with SMTP id m13mr2632247pfh.306.1509468360073; Tue, 31 Oct 2017 09:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509468360; cv=none; d=google.com; s=arc-20160816; b=I6mr0qoRji3x2jvHKxCitdwiW3Nd8aKn/ylTiyYKemBD/HOIF1z52riAPtyW2cQ/nx moXyqHzlzs5+dVoYCRFd+kZ9ZwK22P+5nmapWXvLC+hJmCzPJ0orFKs86lWI3VvN7vXv x5bgAQrjcaiGPkg7GrgVciNMoPTsrPIyxdB5Y1C5WBAcLjvUGCO97ppJLOywtZaKnkK1 V0QvFSD3umHiwmjAHgpBmCwcqBKqW05rkxFFGxHfL1yx1htUDZctHkRHPGqzSDQ8E1KG trzmS1JtWZTaZMiEJUDBPBMODajAHMuAj2/hyqyjLyi9RX4dltCuxHFxUhT8RnuWeqQb Krvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=9wdFBEzvJ8cHz3tgb7PbMN1wRJ0TFoUt0XX1WnjSTfk=; b=ssbVjDZ5K9BVrYHzrybihc91vi1UyLrRDGYEaVA7VYX543LDQPiCdbLZ3X2p2yO/9u HO7ylnWZq+ZdtmvYNTFpAzbTJ0K2nVZSjEFLt6QCJDS1ZQcp96H6zsTVKLBFUXVNcroE A8RnKKhDQ8H1kHqpdWMMRv0eUM/3o6oqP6FUirjVrvW4+h0KjbU+5kLkOlAVqXSzayyU 5kZUt4G6qs8HAjKeu/l5yXNJqPbWbnang7A167sQky1fyXqJ5XXqGA7K9oNGHgc0aIJy qtxLLdWBo1Gnv2x/cO346/mpjrqxlJFmbd5+W8MSaWF5pOx6Rf/7ndzzOn/h+areIq9T WtrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=V+meT4KQ; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: <linux-samsung-soc-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a92si1893687pla.28.2017.10.31.09.45.59; Tue, 31 Oct 2017 09:46:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=V+meT4KQ; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753671AbdJaQp6 (ORCPT <rfc822;riku.voipio@linaro.org> + 4 others); Tue, 31 Oct 2017 12:45:58 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57091 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751524AbdJaQpy (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Tue, 31 Oct 2017 12:45:54 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171031164551euoutp01747210e3e3400610969d16601beba822~ytXfwqqX22692926929euoutp01R; Tue, 31 Oct 2017 16:45:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20171031164551euoutp01747210e3e3400610969d16601beba822~ytXfwqqX22692926929euoutp01R DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1509468351; bh=0QWnlfyigrkFm17CCNPnOIp1MhU8L9oiLX16T8vjKTc=; h=From:To:Cc:Subject:Date:References:From; b=V+meT4KQNkogqAo8f9FueDylfZbIarT/S3QsqC8tqQG4UXWhHrqVyOfkB/ZtNmpJL VclHJgjkd/hKWvcD3gqIk6ujiVzgUqWrE+W+v6MTq8eAWPmb0mQSPqb4qt1mE0Ag5I jndthIAA3yMi+vuShcuIRzaOIOrFMEVMicjYtngY= Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171031164550eucas1p1885ca258d78adf38388fe01304176a0e~ytXexnyGC1775517755eucas1p16; Tue, 31 Oct 2017 16:45:50 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1.samsung.com (EUCPMTA) with SMTP id E3.C8.12576.EB8A8F95; Tue, 31 Oct 2017 16:45:50 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171031164549eucas1p2322d11106997b38122e5d2be47eb7808~ytXeAy9F22485324853eucas1p2x; Tue, 31 Oct 2017 16:45:49 +0000 (GMT) X-AuditID: cbfec7ef-f79ee6d000003120-ff-59f8a8be6936 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id DE.E5.20118.DB8A8F95; Tue, 31 Oct 2017 16:45:49 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OYP00M9858AMC90@eusync1.samsung.com>; Tue, 31 Oct 2017 16:45:49 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Hans Verkuil <hverkuil@xs4all.nl> Subject: [PATCH 1/2] media: exynos-gsc: drop obsolete capabilities Date: Tue, 31 Oct 2017 17:45:43 +0100 Message-id: <20171031164544.2401-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.14.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDIsWRmVeSWpSXmKPExsWy7djP87r7VvyINFjzWNHi1ORnTBY9G7ay Wsw4v4/JYu2Ru+wWh9+0szqwevRtWcXo8XmTnMepr5/ZA5ijuGxSUnMyy1KL9O0SuDIuHLrD XjCdq+Lp9S9MDYxvOboYOTkkBEwkft5/wAxhi0lcuLeerYuRi0NIYBmjxM4zG5hAEkICnxkl 1m5XgWmY8eQUM1zRqqONrBBOA5PE09+rWUCq2AQMJbredrGB2CICThILZ/1lByliFmhklLh9 Yi07SEIYKLHs6lGwBhYBVYkdnb2MIDavgI3EhuUvWCDWyUu8X3CfEaRZQuAmq8SBxgYmiISL RPPSW1C2sMSr41vYIWwZicuTu6Ga+xklmlq1IewZjBLn3vJC2NYSh49fZAWxmQX4JCZtmw70 DwdQnFeio00IosRDYtfUd0wQYUeJqR80ICERK7Fv9gy2CYxSCxgZVjGKpJYW56anFhvqFSfm Fpfmpesl5+duYgTG2el/x9/vYHzaHHKIUYCDUYmHd0bi90gh1sSy4srcQ4wSHMxKIrxJy39E CvGmJFZWpRblxxeV5qQWH2KU5mBREue1jWqLFBJITyxJzU5NLUgtgskycXBKNTBuSF97X/UQ q+5U83tNveGXb+kUXlyi9OxQcibvgqLdngWfblz5xCunUOi+NO/KhbZ2Xp8XnzQfLC4U7zxk WjXLakfLR17R81OOv3/IeO1HfvBp3ZmplfmOjvJZs539W2UMcnvKtWufpRifeGXwWt6uR2L/ 2+dvusR4bW7rF2z/XiD33itp40QlluKMREMt5qLiRAAHfhTfrwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBJMWRmVeSWpSXmKPExsVy+t/xy7p7V/yINFjeZ21xavIzJoueDVtZ LWac38dksfbIXXaLw2/aWR1YPfq2rGL0+LxJzuPU18/sAcxRXDYpqTmZZalF+nYJXBkXDt1h L5jOVfH0+hemBsa3HF2MnBwSAiYSM56cYoawxSQu3FvP1sXIxSEksIRRovnGVWYIp4lJYsnV +YwgVWwChhJdb7vYQGwRASeJhbP+soMUMQs0Mkrsf36EBSQhDJRYdvUomM0ioCqxo7MXrJlX wEZiw/IXLBDr5CXeL7jPOIGRewEjwypGkdTS4tz03GIjveLE3OLSvHS95PzcTYxA/2879nPL Dsaud8GHGAU4GJV4eGckfo8UYk0sK67MPcQowcGsJMKbtPxHpBBvSmJlVWpRfnxRaU5q8SFG aQ4WJXHe3j2rI4UE0hNLUrNTUwtSi2CyTBycUg2MR//dWbk7p6tFvUfRpydBttqRyc7tJPvX FYzRV5ocTA82GKvrzvJidtqf/VKr4mHLwzZfG/ngwH2am7bts3bek3lAYld/4MsikYZcYf/9 e7dV3Z6e93L9t/srTtjPSeW2vHTWOzF2+YPkaeb/uhYyVv2Zw3670Gu+8mSHmJqmX54bNl1R frFDiaU4I9FQi7moOBEAvoNEXfsBAAA= X-CMS-MailID: 20171031164549eucas1p2322d11106997b38122e5d2be47eb7808 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171031164549eucas1p2322d11106997b38122e5d2be47eb7808 X-RootMTR: 20171031164549eucas1p2322d11106997b38122e5d2be47eb7808 References: <CGME20171031164549eucas1p2322d11106997b38122e5d2be47eb7808@eucas1p2.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org |
Series |
[1/2] media: exynos-gsc: drop obsolete capabilities
|
expand
|
diff --git a/drivers/media/platform/exynos-gsc/gsc-m2m.c b/drivers/media/platform/exynos-gsc/gsc-m2m.c index 722d7c45bf9e..785e67752194 100644 --- a/drivers/media/platform/exynos-gsc/gsc-m2m.c +++ b/drivers/media/platform/exynos-gsc/gsc-m2m.c @@ -298,9 +298,7 @@ static int gsc_m2m_querycap(struct file *file, void *fh, strlcpy(cap->card, GSC_MODULE_NAME " gscaler", sizeof(cap->card)); snprintf(cap->bus_info, sizeof(cap->bus_info), "platform:%s", dev_name(&gsc->pdev->dev)); - cap->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_M2M_MPLANE | - V4L2_CAP_VIDEO_CAPTURE_MPLANE | V4L2_CAP_VIDEO_OUTPUT_MPLANE; - + cap->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_M2M_MPLANE; cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS; return 0; }
Setting both V4L2_CAP_VIDEO_CAPTURE_MPLANE and V4L2_CAP_VIDEO_OUTPUT_MPLANE for mem2mem video nodes is obsolete since commit f0476a83d61a ("[media] V4L: Add capability flags for memory-to-memory devices"). It was enough time to adapt all users to the new flags, so drop the legacy caps for now to match other mem2mem drivers. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- drivers/media/platform/exynos-gsc/gsc-m2m.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.14.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html