Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2691096rdb; Tue, 12 Sep 2023 09:12:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH9cnPSlbfWLEnovu16BQ49clvKPODQIZ/gS0sHrKzBVE259Qs+PrdsBWeOWDXqkoJmGu1S X-Received: by 2002:a92:d1cb:0:b0:349:582c:a68d with SMTP id u11-20020a92d1cb000000b00349582ca68dmr13601534ilg.3.1694535133331; Tue, 12 Sep 2023 09:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694535133; cv=none; d=google.com; s=arc-20160816; b=n5hzlc9lbTplgQqud4yblx/r7Hept165+nUY4kZDZXGZgBvjQzyBKVOccAArr+gx0L JCUmCbkzXacEX79eqfRyIeU55o5yE73/UP5IOmhonXskZZa9UOYTL7KkIPgYq5VIlKTd kazFQ+66Yk9tjChLb/1G6HLDmmBKL+KttqHuM6HJfyLNt0iCro3I6DSr1A8VXnuyT6/8 q6aRlnPIp4XQnQZwegdvMp6lEGEYCaynodoHLHy3oWnW2bvF+BJXaIYgMgDHefh4NOOH nOOqf7KmkM+/nt1nwahsXMyiDjB5wSv2k+XzPtlzdb1sTyvQOMmLd2RE+a5m8lTmIb9l FmUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CAWtOYn5PsqUCZArkWrbRLo961k4y+HefruV1FD8Jaw=; fh=zm46ufkIs1vapj2Eo8tesBz6vXcYicREYOJUkoJa0QQ=; b=Mwq/CEPQ5HsN7Clkq1SulesYhn7/1s/jATzD89jWWUY5vuIt8MBzzhLNbC5C59x3vI F+rXgoFbUaDda+z7tLIVTlGgyfGQ8Z2YO//4msT7XEcU1kkxIal6NKvnLblXEerOEBO9 q1inZuw5yThPWlgNDauDt7dTYFJvhH3hddgMcjfpyPHEq+8A1dB6Ku4Ge14SXjqlM4lD zmO1rQIdHA2Xro1x81TkQdX72jupb0guGkwEVC8mnCasD5jmv//FrfpZWf+l47ytxFba fYLvyaobTw8shQ7H7XPKb2DFHMeXWC6iuH5kNvZmD+IFsrOWPtM1vzGBVAh/MHlLP2YL KBpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Q4nhibZS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id t23-20020a656097000000b0055e48c43ab7si7828919pgu.470.2023.09.12.09.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 09:12:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Q4nhibZS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id AB66A81ADCE5; Tue, 12 Sep 2023 05:16:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235059AbjILMQQ (ORCPT + 99 others); Tue, 12 Sep 2023 08:16:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234845AbjILMQN (ORCPT ); Tue, 12 Sep 2023 08:16:13 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1B8110D5; Tue, 12 Sep 2023 05:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694520969; x=1726056969; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=273xH1Jhe5FYT96Y87AVqnja0Rc26UYu66UAyKYIGJA=; b=Q4nhibZSgj3u5hObnEpE9TNdUgVtkyAaYlXBk2Mt/2DYS6MofGiPJXko fM+TwwBHYn2MagNVVqWZUYi8G9tA9JGvUlXSKzOmc8ZbbJ2nq95BHKEJ2 vWxCVGjEQDwpslTgzhPePnWSSV+naDDmljF5cUzRLGOK5NQZa2UI4DBDg Q0V+Bq5cTCoHRlXhV3IEsHgejqoZJ/pDTUrdZtQRsUrzMfraMsBBVP3LS YWlmhN5uJfJk04qdy1V+TLFVBqW6pn22z+iIYZzpaT/sGrcSP4iPeHL+j I4WQV7Rsv80v/jJf+ACp43SJmZervPw4nZ6KRUjOFzt9L25wQ1mOUN0TD Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="464726767" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="464726767" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2023 05:16:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="693471982" X-IronPort-AV: E=Sophos;i="6.02,139,1688454000"; d="scan'208";a="693471982" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2023 05:16:06 -0700 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id B6D3111F831; Tue, 12 Sep 2023 15:16:03 +0300 (EEST) Date: Tue, 12 Sep 2023 12:16:03 +0000 From: Sakari Ailus To: Arnd Bergmann Cc: Mauro Carvalho Chehab , Hans Verkuil , Laurent Pinchart , Hans de Goede , Arnd Bergmann , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: fix VIDEO_CAMERA_SENSOR dependencies Message-ID: References: <20230912120159.4118842-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230912120159.4118842-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 12 Sep 2023 05:16:34 -0700 (PDT) X-Spam-Status: No, score=0.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UPPERCASE_50_75 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Hi Arnd, On Tue, Sep 12, 2023 at 02:01:42PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The new Kconfig submenu now guards the visibility of camera sensor drivers, > and any driver that selects one of them runs into a missing dependency warning > if it's disabled: > > WARNING: unmet direct dependencies detected for VIDEO_OV2640 > Depends on [n]: MEDIA_SUPPORT [=y] && VIDEO_DEV [=y] && VIDEO_CAMERA_SENSOR [=n] > Selected by [y]: > - VIDEO_EM28XX_V4L2 [=y] && USB [=y] && MEDIA_SUPPORT [=y] && MEDIA_USB_SUPPORT [=y] && (MEDIA_CAMERA_SUPPORT [=y] || MEDIA_ANALOG_TV_SUPPORT [=y] || MEDIA_DIGITAL_TV_SUPPORT [=y]) && VIDEO_EM28XX [=y] && MEDIA_SUBDRV_AUTOSELECT [=y] && MEDIA_CAMERA_SUPPORT [=y] > - VIDEO_GO7007 [=y] && MEDIA_SUPPORT [=y] && MEDIA_USB_SUPPORT [=y] && MEDIA_ANALOG_TV_SUPPORT [=y] && VIDEO_DEV [=y] && I2C [=y] && SND [=y] && USB [=y] && MEDIA_SUBDRV_AUTOSELECT [=y] && MEDIA_CAMERA_SUPPORT [=y] > > WARNING: unmet direct dependencies detected for VIDEO_MT9V011 > Depends on [n]: MEDIA_SUPPORT [=y] && VIDEO_DEV [=y] && VIDEO_CAMERA_SENSOR [=n] > Selected by [y]: > - VIDEO_EM28XX_V4L2 [=y] && USB [=y] && MEDIA_SUPPORT [=y] && MEDIA_USB_SUPPORT [=y] && (MEDIA_CAMERA_SUPPORT [=y] || MEDIA_ANALOG_TV_SUPPORT [=y] || MEDIA_DIGITAL_TV_SUPPORT [=y]) && VIDEO_EM28XX [=y] && MEDIA_SUBDRV_AUTOSELECT [=y] && MEDIA_CAMERA_SUPPORT [=y] > > WARNING: unmet direct dependencies detected for VIDEO_OV7670 > Depends on [n]: MEDIA_SUPPORT [=y] && VIDEO_DEV [=y] && VIDEO_CAMERA_SENSOR [=n] > Selected by [y]: > - VIDEO_CAFE_CCIC [=y] && MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y] && MEDIA_PLATFORM_DRIVERS [=y] && V4L_PLATFORM_DRIVERS [=y] && PCI [=y] && I2C [=y] && VIDEO_DEV [=y] && COMMON_CLK [=y] > - VIDEO_MMP_CAMERA [=y] && MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y] && MEDIA_PLATFORM_DRIVERS [=y] && V4L_PLATFORM_DRIVERS [=y] && I2C [=y] && VIDEO_DEV [=y] && (ARCH_MMP [=y] || COMPILE_TEST [=y]) && COMMON_CLK [=y] > - VIDEO_VIA_CAMERA [=y] && MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y] && MEDIA_PLATFORM_DRIVERS [=y] && V4L_PLATFORM_DRIVERS [=y] && FB_VIA [=y] && VIDEO_DEV [=y] > > Some of these are guarded by 'if MEDIA_SUBDRV_AUTOSELECT && > MEDIA_CAMERA_SUPPORT', which seems to be the right approach, so update > those to use the new VIDEO_CAMERA_SENSOR symbol instead of > MEDIA_CAMERA_SUPPORT and add the same condition to the ones that > don't already have one. > > Fixes: 7d3c7d2a2914e ("media: i2c: Add a camera sensor top level menu") > Signed-off-by: Arnd Bergmann I believe these matters have been fixed, but the fixes are only in the media stage tree so far (and not in the fixes branch). They should go to v6.6, not v6.7. -- Regards, Sakari Ailus