Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4697892ybb; Tue, 24 Mar 2020 03:43:07 -0700 (PDT) X-Google-Smtp-Source: ADFU+vskqfZh2n822xwcj03FRxknDGynzjLY4ho6r6MV1Ii9aWwhV/rxxBqw7hSgMR1qrlTyDOY2 X-Received: by 2002:a54:4614:: with SMTP id p20mr2751893oip.48.1585046587452; Tue, 24 Mar 2020 03:43:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585046587; cv=none; d=google.com; s=arc-20160816; b=InJm4eXQ7MTQYzvSIz4DPMHdcxxxI8HBNlw64/nvQeKvTG6WaoiINbcb7zMTvTtgFf a5egPK0Q+dWR3KnmEuk7yUGu+UMOlYEIPBWbv/Y9tCRDtFNY1iQCJ3FIxrzGtRvITukj 2fERUmyAe0KyCa2ihq4z5BzgNdwixYnRPUXJAI6Vz69EmutB0aD4yvubCRyBwKGpc13Q n68c8WqOTak6g9LIsoyVY8UOXMeakispuExQnXRAceh9pDKJJpoi911+LLYWUXJAGjoF EBTT9CdVUO9JPWQajPfBsNjOtpwPIMCJK8Ynl/eiaIpDPOhXO0RXywByKS1F0Ll/01ih s9kw== 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:subject:cc:to:from:date :dkim-signature; bh=e0CZTEe4kanzxBdk+tSF+ihJz5QgSysqXeZgg3CivL0=; b=rg7tdUE+AtHGHOnyiK37lvq5fP22/s0wgxfhLFpEdaNsRUV1rPQg9TMR+VsYxCYKMQ ylDm7+WIPkW2Y19VX11Y7u/RB6aNVAy6p3utoefPiAkOww1D8DhO9AQiJ7AGJvAKya+O QNpjSaTVKF+pCSiSAxq5zfLYHZWsOiXFmM87gWhLY7a7Wfx9mNFWDJ0oYDIL9mI1VVuo 8nnAESUQdENt0uCiwXgLcz/krPZg8aWMfV5PW1AwBHWxL+lNu9EAVSi4x5cFHi47QiI9 ebJ7YG1w+SgZswLf06Ci8qBqC3E5O5GcoHAFXFG/Q6RDKguLpY6KFGOATuH8wks/StUQ mWrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=e3UhJNib; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e14si2826969otf.226.2020.03.24.03.42.54; Tue, 24 Mar 2020 03:43:07 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=e3UhJNib; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727266AbgCXKle (ORCPT + 99 others); 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