From patchwork Fri Aug 12 22:00:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 596971 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 3548FC25B08 for ; Fri, 12 Aug 2022 22:01:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234263AbiHLWBN (ORCPT ); Fri, 12 Aug 2022 18:01:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231698AbiHLWBK (ORCPT ); Fri, 12 Aug 2022 18:01:10 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9658FAED99; Fri, 12 Aug 2022 15:01:07 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 5EE15C0008; Fri, 12 Aug 2022 22:01:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1660341666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pkkmH0/3sf9eOoPx4blV5GuzlighARz4MFuQjynFE1U=; b=F5zi3tyWcZPnPBoMCc0zQvC/WthP2mJhvGQ8Lr1T2tywTJVWQpjNYEzppwV/RrSLaB8y66 9m2TigV+0Wvh4b/yYmtIn9lRSpE1fet7h3z2bkSICoV7OaAcmBQZ1tyIflgx5dMvtx4FvM atEyYdUtxzCMXYX8DRjOGFaiK33mXwMUrJM9CDIxMaaMIGYa+vezjJ++lytRF3+Bo6ySTc mLEbiR2YG1/JlHu6es7Fo05PfsYJBqnimX98ElcqZc7+G4sdKV4bbAYMfZ0Qp3pI4AVXwH zSW1izZH3yQk7EqThJgXJjwcF6Y7eX3VLX8Guq2mDIFjnWF7j6zRMOLzrzU8kA== From: Paul Kocialkowski To: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Maxime Ripard , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Kocialkowski , Hans Verkuil , Thomas Petazzoni Subject: [PATCH 3/6] media: sun6i-csi: Add a Kconfig dependency on RESET_CONTROLLER Date: Sat, 13 Aug 2022 00:00:42 +0200 Message-Id: <20220812220045.800820-3-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220812220045.800820-1-paul.kocialkowski@bootlin.com> References: <20220812220045.800820-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. Signed-off-by: Paul Kocialkowski --- drivers/media/platform/sunxi/sun6i-csi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/sunxi/sun6i-csi/Kconfig b/drivers/media/platform/sunxi/sun6i-csi/Kconfig index 0345901617d4..e5b6991ce7f0 100644 --- a/drivers/media/platform/sunxi/sun6i-csi/Kconfig +++ b/drivers/media/platform/sunxi/sun6i-csi/Kconfig @@ -2,7 +2,7 @@ config VIDEO_SUN6I_CSI tristate "Allwinner V3s Camera Sensor Interface driver" depends on V4L_PLATFORM_DRIVERS - depends on VIDEO_DEV && COMMON_CLK && HAS_DMA + depends on VIDEO_DEV && COMMON_CLK && RESET_CONTROLLER && HAS_DMA depends on ARCH_SUNXI || COMPILE_TEST select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API