From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDB16C43331 for ; Tue, 24 Mar 2020 10:41:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6D3520719 for ; Tue, 24 Mar 2020 10:41:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585046495; bh=MMTf0avgN4p/lEVg/TBkwgikg0grq5LUVu+c9Tt97X8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=OdE6GnY5tNLU8c0pF5EebNXNibBOn1ZJiVnlrJQnToFcC8HJB6/HtPrg27fjbuBpU /VZcsixDDQ20p8Ryp8U0xN7Pxf0LkT3bf4AGvkxEhRi9z1eKPt+T1538wcgam3Zb+T QQH/Q7J37HT6WcuhYGm7k8+7y3VSMK0mgvYpSU24= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727289AbgCXKle (ORCPT ); Tue, 24 Mar 2020 06:41:34 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:55140 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727084AbgCXKle (ORCPT ); Tue, 24 Mar 2020 06:41:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-ID:Content-Description; bh=e0CZTEe4kanzxBdk+tSF+ihJz5QgSysqXeZgg3CivL0=; b=e3UhJNib/6ytu4dX7hOpS/tExu nq9HPlIkH4kJptnotKGtV07D86/z74CrfSN5sfXfMyv7k+h8OMlWF8gShJKmVqEiFMQyNnOf0gkC5 VpiXxhIlSxQdJuCycc4rqrEItzapMK9d9OdVc5Iqjg9FZDZ66Prdh3sGDtBWeDV72+z00Y/k/XvKY 61/fac8uX+zjMTb4Jj7Dp04cs4Ix1cxQ50apE/EjYAmdD1cefZV2BcF1YWTtvp9dOE+c7JOu2sD+Z BjsmvKQ6JZxoh4ln7VPnJxZ+Yvcc+jP3aRhUK4iYu5Uo4G62GRCKEkLtwoY4ZyfB4EWMJtYW6Vsl2 BnEH4R3w==; Received: from ip5f5ad4e9.dynamic.kabel-deutschland.de ([95.90.212.233] helo=coco.lan) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jGh00-0006rV-Cy; Tue, 24 Mar 2020 10:41:32 +0000 Date: Tue, 24 Mar 2020 11:41:23 +0100 From: Mauro Carvalho Chehab To: Ezequiel Garcia Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Tomasz Figa , Nicolas Dufresne , kernel@collabora.com, Hans Verkuil , Sean Young , Philipp Zabel , Laurent Pinchart , Sakari Ailus , Michael Ira Krufky , Helen Koike Subject: Re: [PATCH 2/2] media: Remove VIDEO_DEV unneeded dependency Message-ID: <20200324114123.121783d7@coco.lan> In-Reply-To: <0336a046563a3d0556c988a67be2642194831710.camel@collabora.com> References: <20200323211022.28297-1-ezequiel@collabora.com> <20200323211022.28297-3-ezequiel@collabora.com> <20200324104722.1c605792@coco.lan> <0336a046563a3d0556c988a67be2642194831710.camel@collabora.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 24 Mar 2020 07:18:49 -0300 Ezequiel Garcia escreveu: > On Tue, 2020-03-24 at 10:47 +0100, Mauro Carvalho Chehab wrote: > > Em Mon, 23 Mar 2020 18:10:22 -0300 > > Ezequiel Garcia escreveu: > > > > > Enable VIDEO_DEV (which compiles Video4Linux core) > > > when MEDIA_SUPPORT is selected. This is needed, in order > > > to be able to enable devices such as stateless codecs. > > > > > > Signed-off-by: Ezequiel Garcia > > > --- > > > drivers/media/Kconfig | 2 -- > > > 1 file changed, 2 deletions(-) > > > > > > diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig > > > index b36a41332867..7de472ad07a2 100644 > > > --- a/drivers/media/Kconfig > > > +++ b/drivers/media/Kconfig > > > @@ -93,13 +93,11 @@ source "drivers/media/mc/Kconfig" > > > > > > # > > > # Video4Linux support > > > -# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected > > > # > > > > > > config VIDEO_DEV > > > tristate > > > depends on MEDIA_SUPPORT > > > - depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT > > > default y > > > > > > config VIDEO_V4L2_SUBDEV_API > > > > The rationale of the above is to exclude Digital TV and remote > > controller. > > > > Removing the above will make the V4L2 core available every time, even > > if all the user wants is remote controller or Digital TV support. > > > > Hm, right. > > > I'm working on a patchset that should hopefully address the issues > > you're concerning. > > > > Thanks, I'll appreciate that. Sent. Btw, I sent another patch to be applied *after* the series. It just occurred to me that the best way to make everyone happy is to let the filtering option to be optional. That's what the newest patch does ;-) Thanks, Mauro