From patchwork Thu Aug 25 10:20:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 12954495 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 556B0C04AA5 for ; Thu, 25 Aug 2022 10:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8+kfaFnSvCEfWpHhGTmPfpWmvYc/t7tSIHZ+7zKLlE8=; b=QpuVGMyenJezXa OjYAigEX07BEr2vwywVzFYxrw5ZdarQNn26E0GeBNHA8Cx+4rBtXGJir9AIdGg2pVNf+fZRSWWqbB n7PVbQLGM+rLjdl3jNNh8k90FLRPS7/bcVd8bm/Gz/X8a+Qgo7IohujMSnr1e27PoH1/oPfHHowvW 9B7/CPKZZzo2n2sIHnGBGmKmGrmCX+3YxxYIOINJoobNqd9Y/zcpOZ0KDB26u/5wO/SwwGT1i0xhf 7fITvDsSU9b7PagYkvSYmmvTbaMQY9FlQQkkCe4hdTk1LRhXQfRxtbqz4xER6WLakued2BvJislwR ARv2prjNcT1xg8NN6muA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRA2V-00BqjY-K8; Thu, 25 Aug 2022 10:24:44 +0000 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oR9yt-00Bozu-DW for linux-arm-kernel@lists.infradead.org; Thu, 25 Aug 2022 10:21:07 +0000 Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 9BBF6FF80E; Thu, 25 Aug 2022 10:20:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1661422857; 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=V1UOoDEy5ZDDQPj336ZKimMS4BKTdmwc0Nwv/Ux2JaE=; b=UnQ36WN7zkebxVJkAdG/u+5h9xp7dA+ESrKFrM1qOcxKcdMjN+zfVzeHSuYPwtYswrPSQE cW72gyMyg5gX5dCvjcpJvfDyKx7wUGzI2E/HFN5d80Pd8ki7dAqqGW67o8QWwwbiZAKgOr SKS2eysS4oz2LARayqm7x2EXC5KgZLBp+MyVkCCnX0VT2+2Jp/Oi227ErHXihXUgy2fOGk 7m4qPayoyRjyRbo4eY/IkKVOwm4n4KskO2VmJrPzra2UMEAl6yU5CPPwalVpYCjenGmmnL R9JdpLhjgQFpu74if56arghxNgCstQetu91xFd1aY0RtMhi3109ht5JrSZtrLA== 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, linux-staging@lists.linux.dev Cc: Maxime Ripard , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Kocialkowski , Hans Verkuil , Sakari Ailus , Thomas Petazzoni Subject: [PATCH v2 7/7] media: cedrus: Add a Kconfig dependency on RESET_CONTROLLER Date: Thu, 25 Aug 2022 12:20:35 +0200 Message-Id: <20220825102035.419087-8-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220825102035.419087-1-paul.kocialkowski@bootlin.com> References: <20220825102035.419087-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220825_032059_682249_E1192639 X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The driver relies on the reset controller API to work, so add RESET_CONTROLLER as one of its Kconfig dependencies. Fixes: 50e761516f2b ("media: platform: Add Cedrus VPU decoder driver") Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/sunxi/cedrus/Kconfig b/drivers/staging/media/sunxi/cedrus/Kconfig index 21c13f9b6e33..621944f9907a 100644 --- a/drivers/staging/media/sunxi/cedrus/Kconfig +++ b/drivers/staging/media/sunxi/cedrus/Kconfig @@ -2,6 +2,7 @@ config VIDEO_SUNXI_CEDRUS tristate "Allwinner Cedrus VPU driver" depends on VIDEO_DEV + depends on RESET_CONTROLLER depends on HAS_DMA depends on OF select MEDIA_CONTROLLER