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=-6.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,URIBL_BLOCKED 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 052B0C43331 for ; Fri, 27 Mar 2020 13:47:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CA34C206F6 for ; Fri, 27 Mar 2020 13:47:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727575AbgC0Nr4 (ORCPT ); Fri, 27 Mar 2020 09:47:56 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:33878 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbgC0Nr4 (ORCPT ); Fri, 27 Mar 2020 09:47:56 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id C4333297E7F Message-ID: 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: Fri, 27 Mar 2020 10:47:44 -0300 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> 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 Hi Mauro, On Tue, 2020-03-24 at 07:18 -0300, Ezequiel Garcia wrote: > 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. > It seems the config rework you sent will undergo some extended discussions, which is fine given it's a full rework. I'd like to send a smaller (ideally just one or two patches) series, so we can improve the situation on codecs on a smaller timeframe. Thanks! Ezequiel