Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4679164ybb; Tue, 24 Mar 2020 03:19:42 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuNUhWoSF3Skw804iTit17m74CpUXGNQWxcXEtPg+Uk3/T0ei26jwwCLbs/wKzkprBJJW0B X-Received: by 2002:aca:ebca:: with SMTP id j193mr2748166oih.124.1585045182665; Tue, 24 Mar 2020 03:19:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585045182; cv=none; d=google.com; s=arc-20160816; b=mjx9ayVf2eTbrfOQWrmMWcuWLNgO+OfYT+zcLuGSR8XbmVMV8edQZOb1PGYkcAlOM1 uadoXIWI4//Jby8qfn8DflRorPnoY4GTsACIWNAhusJZK4Z7+l7INtTRQQzFveM+pREF 3tgqGf7V+ZQxdX7seTfdffL5vTiRK+uxgbB7AjlGuUT1tlrUGJJAxP0b2Guj848V+EsX QtIfSCC8cHCUOz94ZxXlJJtVFK5pPAxSso/Kwm29t6EwaZbwVBSlP3LbGDHaUD7Zowhx vXZb8yn6hYKDbYrSTZUG5TElWWnVG2/0u2e3Q9oA/AazAgCBOoeesAIv9+3E1pCezH1W UTtg== 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 :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=LAVtp4QsyPM8jnsmXRER/8BF5zqdg/02REyz9ENyu60=; b=ztpgsmvo89u3x/c5TubA98QDnJF8v2N//qYkHihV1wyJ7S36b7YBhhOkHo2ZlstH8r uyeluLEozxYHMvBcTy8i/QpNXY6rZ4y9zqwb1urvSXis+L9jjT1ZgGot5AGkqLxefDsJ 6wOjb+ud2yf2xRyw9FPQtvLcD06u9AMvlcik7blGD+aFXKTLsq/lVm38FyHaGXWco4iR Ua21ZgJSnyLcR+HByhCpBuh8nMp2gShJWmE/dhnc3iZja1sVyEHqyutNN4jOfQFUL3EO hpySaVXJ1UIfWovmhd/RvximRNHpGhPYcN82iBmHaiG37XhODiugBcaP+rz/9+CuAAox gerw== 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 u25si2410575otg.199.2020.03.24.03.19.29; Tue, 24 Mar 2020 03:19:42 -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 S1727152AbgCXKTB (ORCPT + 99 others); Tue, 24 Mar 2020 06:19:01 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:47242 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726994AbgCXKTB (ORCPT ); Tue, 24 Mar 2020 06:19:01 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 3EF832968B2 Message-ID: <0336a046563a3d0556c988a67be2642194831710.camel@collabora.com> Subject: Re: [PATCH 2/2] media: Remove VIDEO_DEV unneeded dependency From: Ezequiel Garcia To: Mauro Carvalho Chehab 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 Date: Tue, 24 Mar 2020 07:18:49 -0300 In-Reply-To: <20200324104722.1c605792@coco.lan> References: <20200323211022.28297-1-ezequiel@collabora.com> <20200323211022.28297-3-ezequiel@collabora.com> <20200324104722.1c605792@coco.lan> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.0-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Ezequiel