From patchwork Thu Mar 16 10:24:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 664388 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 BE211C6FD1F for ; Thu, 16 Mar 2023 10:26:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbjCPK0Q (ORCPT ); Thu, 16 Mar 2023 06:26:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231290AbjCPKZy (ORCPT ); Thu, 16 Mar 2023 06:25:54 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B92A95A1A4 for ; Thu, 16 Mar 2023 03:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678962340; x=1710498340; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=1i7XezwgB3h0wbYD3ftMKoam0rY2DAj2DouV5mn33Zo=; b=WfTH8rbf7FLE9oEuwD/5dj26+r+Z55vbSIvOyakUoZVlN8Ki5D2vYq1U vPR5/vZHrsLcgSa9Dq2v9IFDh+HdeRYAnnErr04i3VsMDZMSbATZgLnp/ /DVa4f0hH5uWQ5i7gg3MeXRvcTweDlBDRCDV+gtzu70ZoDhOfgl7T5E/S aY6bTwA/foXkurOYHJianfjH7KqTCZH0T1T3lw8CECmVGgUGBpsrqDCHL kxICNbCIXZ1Y/ULKTcdOb6FkwFhcqONlGzkWJdB5HZe4ewDyCsKrYskTx 24bfYlujuhGwF4EmVyzOjb3vwDTKprOpraqk3swmcC4Sb1172IlDJC4LC Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="317599254" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="317599254" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 03:25:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="673104375" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="673104375" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 03:25:09 -0700 Received: from punajuuri.localdomain (punajuuri.localdomain [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 04ED21218FF; Thu, 16 Mar 2023 12:25:07 +0200 (EET) Received: from sailus by punajuuri.localdomain with local (Exim 4.94.2) (envelope-from ) id 1pckmP-00GW6D-PC; Thu, 16 Mar 2023 12:24:17 +0200 From: Sakari Ailus To: linux-media@vger.kernel.org Cc: Luca Weiss , Jacopo Mondi Subject: [PATCH 1/1] ov2685: Select VIDEO_V4L2_SUBDEV_API Date: Thu, 16 Mar 2023 12:24:07 +0200 Message-Id: <20230316102407.3936592-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org VIDEO_V4L2_SUBDEV_API is required for v4l2_subdev_get_pad_*() functions. Select it. Fixes: ("media: i2c: ov2685: Add .get_selection() support") Signed-off-by: Sakari Ailus --- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index c3d5952ca27e6..f07fc7ea84f1a 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -462,6 +462,7 @@ config VIDEO_OV2685 tristate "OmniVision OV2685 sensor support" depends on VIDEO_DEV && I2C select MEDIA_CONTROLLER + select VIDEO_V4L2_SUBDEV_API select V4L2_FWNODE help This is a Video4Linux2 sensor driver for the OmniVision