From patchwork Mon Jun 27 03:17:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liang Yang X-Patchwork-Id: 12896033 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 426E2C43334 for ; Mon, 27 Jun 2022 03:19:14 +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=5tLKRWNalJMyeOGqbx66PEnJ5JpWTWyC06TrTLKy5RM=; b=h7mq+WOB6+8XQV 7rs4SQwf7kCW95Eq2Uthf8GEx4bYXKEA9LtknajsltC0J6ag95bUMSqMmq/7wI/3CBkBH8OXZDP61 Hs5TEgjFvZN9boA+B+3nL0knaHXau3RP5Mk8Ys8KumDE4gVJDAF1X1C4IbucuoWCXfECmkWYqcaSd YmWpjJQ23Ho5hpDSJl5Zm0Ruvvzki/IEqGOyC/pCavHFiUnhZ8hm8XTuFjeAII0qcauRgy8LLMJnC L0TePJwl8XUXzE33yp+vXgALCdFKpIfCYjtMo/6BK1xyrxKcLczhHpHJpLhPXpRIGZrS/iqbdAat9 48+Q50Y/IfDdHqULXOmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5fHK-00F0rl-DF; Mon, 27 Jun 2022 03:19:10 +0000 Received: from mail-sz.amlogic.com ([211.162.65.117]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5fGi-00F0I3-MQ; Mon, 27 Jun 2022 03:18:35 +0000 Received: from droid11-sz.amlogic.com (10.28.8.21) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.2176.2; Mon, 27 Jun 2022 11:18:30 +0800 From: Liang Yang To: Miquel Raynal , CC: Liang Yang , kernel test robot , Rob Herring , Richard Weinberger , Vignesh Raghavendra , Jerome Brunet , Neil Armstrong , Martin Blumenstingl , Kevin Hilman , Jianxin Pan , Victor Wan , XianWei Zhao , Kelvin Zhang , BiChao Zheng , YongHui Yu , , , Subject: [PATCH v8 5/5] mtd: rawnand: meson: not support legacy clock Date: Mon, 27 Jun 2022 11:17:03 +0800 Message-ID: <20220627031703.33243-6-liang.yang@amlogic.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220627031703.33243-1-liang.yang@amlogic.com> References: <20220627031703.33243-1-liang.yang@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.28.8.21] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220626_201832_773432_C660752D X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org meson NFC driver use common clock interfaces. so the test robot report some errors once using the legacy clock with HAVE_LEGACY_CLK on. Reported-by: kernel test robot Signed-off-by: Liang Yang Reviewed-by: Neil Armstrong --- drivers/mtd/nand/raw/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index 67b7cb67c030..c309cfeb74cd 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -395,7 +395,7 @@ config MTD_NAND_STM32_FMC2 config MTD_NAND_MESON tristate "Support for NAND controller on Amlogic's Meson SoCs" - depends on ARCH_MESON || COMPILE_TEST + depends on COMMON_CLK && (ARCH_MESON || COMPILE_TEST) select MFD_SYSCON help Enables support for NAND controller on Amlogic's Meson SoCs.