From patchwork Wed Aug 16 13:35:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 715307 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 130FCC001B0 for ; Wed, 16 Aug 2023 13:36:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245565AbjHPNgO (ORCPT ); Wed, 16 Aug 2023 09:36:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245413AbjHPNgL (ORCPT ); Wed, 16 Aug 2023 09:36:11 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7026F2136; Wed, 16 Aug 2023 06:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692192970; x=1723728970; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4GR5uM0r2IXARSeo3eQq0DsLiDyIiKq3U4ASSd4oGac=; b=NPfnmkGQzUjrrUh4lqyYm4Hgj657+AZO+IqYWSuTW+fceC4UOI7qhiRG pa0c/HYIc/pELCpRvm6zXurS12C+lr8h7DnD3MWxMbXGyJ+UnXFfP4Hvw mMa9dC0N8tUjTkj/9SoW2onN6jQ/lhPkyVVp6YJNJ/qAXX8XHU9d6Y6UO DMbDoR6hUyY0pBNpzvIYv51PoDvyEzhoMReCXF/3KG2Enhh8KD1g+slAA XioXtfLO2IKIhYCCnF8hPOxj4uc58s3mKWVwttA8aCLD/o7iLz7C3ud6o 6v1jQzqszV32ECWYS3wCBCitStQciD8xR1+0Mwn0PTHRfeAjLW3vvxsWf w==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="372537576" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="372537576" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2023 06:36:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="980748913" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="980748913" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2023 06:36:06 -0700 Received: from punajuuri.localdomain (punajuuri.localdomain [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id CB2401209BD; Wed, 16 Aug 2023 16:36:03 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.96) (envelope-from ) id 1qWGgS-00GC1b-2t; Wed, 16 Aug 2023 16:35:36 +0300 From: Sakari Ailus To: linux-media@vger.kernel.org, Randy Dunlap Cc: Stephen Rothwell , Linux Kernel Mailing List , linux-next@vger.kernel.org, Wentong Wu , Zhifeng Wang , Mauro Carvalho Chehab Subject: [PATCH 1/2] media: v4l: usb: Use correct dependency for camera sensor drivers Date: Wed, 16 Aug 2023 16:35:25 +0300 Message-Id: <20230816133526.3859456-2-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230816133526.3859456-1-sakari.ailus@linux.intel.com> References: <20230816133526.3859456-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The Kconfig option that enables compiling camera sensor drivers is VIDEO_CAMERA_SENSOR rather than MEDIA_CAMERA_SUPPORT as it was previously. Fix this. Reported-by: Randy Dunlap Fixes: 7d3c7d2a2914 ("media: i2c: Add a camera sensor top level menu") Signed-off-by: Sakari Ailus --- drivers/media/usb/em28xx/Kconfig | 4 ++-- drivers/media/usb/go7007/Kconfig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/em28xx/Kconfig b/drivers/media/usb/em28xx/Kconfig index b3c472b8c5a9..cb61fd6cc6c6 100644 --- a/drivers/media/usb/em28xx/Kconfig +++ b/drivers/media/usb/em28xx/Kconfig @@ -12,8 +12,8 @@ config VIDEO_EM28XX_V4L2 select VIDEO_SAA711X if MEDIA_SUBDRV_AUTOSELECT select VIDEO_TVP5150 if MEDIA_SUBDRV_AUTOSELECT select VIDEO_MSP3400 if MEDIA_SUBDRV_AUTOSELECT - select VIDEO_MT9V011 if MEDIA_SUBDRV_AUTOSELECT && MEDIA_CAMERA_SUPPORT - select VIDEO_OV2640 if MEDIA_SUBDRV_AUTOSELECT && MEDIA_CAMERA_SUPPORT + select VIDEO_MT9V011 if MEDIA_SUBDRV_AUTOSELECT && VIDEO_CAMERA_SENSOR + select VIDEO_OV2640 if MEDIA_SUBDRV_AUTOSELECT && VIDEO_CAMERA_SENSOR help This is a video4linux driver for Empia 28xx based TV cards. diff --git a/drivers/media/usb/go7007/Kconfig b/drivers/media/usb/go7007/Kconfig index 4ff79940ad8d..b2a15d9fb1f3 100644 --- a/drivers/media/usb/go7007/Kconfig +++ b/drivers/media/usb/go7007/Kconfig @@ -12,8 +12,8 @@ config VIDEO_GO7007 select VIDEO_TW2804 if MEDIA_SUBDRV_AUTOSELECT select VIDEO_TW9903 if MEDIA_SUBDRV_AUTOSELECT select VIDEO_TW9906 if MEDIA_SUBDRV_AUTOSELECT - select VIDEO_OV7640 if MEDIA_SUBDRV_AUTOSELECT && MEDIA_CAMERA_SUPPORT select VIDEO_UDA1342 if MEDIA_SUBDRV_AUTOSELECT + select VIDEO_OV7640 if MEDIA_SUBDRV_AUTOSELECT && VIDEO_CAMERA_SENSOR help This is a video4linux driver for the WIS GO7007 MPEG encoder chip. From patchwork Wed Aug 16 13:35:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 715306 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB62CC05052 for ; Wed, 16 Aug 2023 13:36:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245568AbjHPNgO (ORCPT ); Wed, 16 Aug 2023 09:36:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245366AbjHPNgL (ORCPT ); Wed, 16 Aug 2023 09:36:11 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 610502135; Wed, 16 Aug 2023 06:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692192970; x=1723728970; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TE8xFz46eSdiuejrPPY/FLyzDqCT21o+NFLRZALGZD8=; b=PCAMOQDGMd/OurCit0MLFTj21Lkget9uCvfJt/eYe35g7LZQbBaZi/sG hC/fE+mTedIBS48Q0W0bQ4WkYW6E7pyf/5hgEiYI2pVeBezrLXHsmNn1g Z8imgct3TOZf84D4GNA/UPSW3tLai8AYIyXr5ZxetydZMS6hzDdpsdSfJ JjPFaNzEhXXRWf9JnyBjESkG4JqMcTiTJHp7Oes1jotXii7DqptLtWX6i GFaOLW0ZtU9Fc9Vs7rgrK6Cpf/xJS6PbNPNeXch9KyexT3MsdLZD3R71g j+4iX3D94sjfsYHUlSYvJZqYlPT2rrojeOkdTkZWPSASP4rFdP91kzgTo w==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="372537580" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="372537580" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2023 06:36:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="980748915" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="980748915" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2023 06:36:06 -0700 Received: from punajuuri.localdomain (punajuuri.localdomain [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id CE9031209F7; Wed, 16 Aug 2023 16:36:03 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.96) (envelope-from ) id 1qWGgS-00GC1f-30; Wed, 16 Aug 2023 16:35:36 +0300 From: Sakari Ailus To: linux-media@vger.kernel.org, Randy Dunlap Cc: Stephen Rothwell , Linux Kernel Mailing List , linux-next@vger.kernel.org, Wentong Wu , Zhifeng Wang , Mauro Carvalho Chehab Subject: [PATCH 2/2] media: ivsc: Add ACPI dependency Date: Wed, 16 Aug 2023 16:35:26 +0300 Message-Id: <20230816133526.3859456-3-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230816133526.3859456-1-sakari.ailus@linux.intel.com> References: <20230816133526.3859456-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The IVSC driver only works in ACPI systems so make it depend on ACPI. Compiling it elsewhere has little if any value. Reported-by: Randy Dunlap Fixes: 29006e196a56 ("media: pci: intel: ivsc: Add CSI submodule") Signed-off-by: Sakari Ailus --- drivers/media/pci/intel/ivsc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/intel/ivsc/Kconfig b/drivers/media/pci/intel/ivsc/Kconfig index ec4ade92f583..413053175df7 100644 --- a/drivers/media/pci/intel/ivsc/Kconfig +++ b/drivers/media/pci/intel/ivsc/Kconfig @@ -3,7 +3,7 @@ config INTEL_VSC tristate "Intel Visual Sensing Controller" - depends on INTEL_MEI + depends on INTEL_MEI && ACPI help This adds support for Intel Visual Sensing Controller (IVSC).