From patchwork Mon Aug 22 09:18:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liang Yang X-Patchwork-Id: 12950422 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 8663DC28D13 for ; Mon, 22 Aug 2022 09:23:31 +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=C3lkB+SNF4tM9W9Uf+3IdJ+wxRIYj5kNYDZJlFONgPU=; b=0/dyAX1Q3hMWTw 6WkuhigIXMlXC4YnO48Exvq9wynXCpE+7bIuJEEoVwgZHw803acP06LjelNi8g5PmmVz2vH+Ow5Av bXUM5UMYmq/iFUFpfE4I5iOms0fdH4N9enxcMQ5lUKNUT7lCGIFpqvlzuyRfamAWoVcA/jDtjYD5x +bx6otY3PAJ8ytRK6SglASJYbJooK/owWAq3u2PVxaCjLodG16W5gIDUsl7IExJsvtjlPFt+tq5zO 5NkKr0uF/Z/XT9sBY0Mt9T0cpRpqGi0P4rSr0J6fTHkn9Bukawb6M6mQ+G27fEd168Zp5pGyBzOy/ 8h1oQCWeEd5IjNGszekA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQ3dG-006xg8-F4; Mon, 22 Aug 2022 09:22:06 +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 1oQ3cY-006x2K-OY; Mon, 22 Aug 2022 09:21:24 +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.2507.6; Mon, 22 Aug 2022 17:21:20 +0800 From: Liang Yang To: Miquel Raynal , CC: Liang Yang , kernel test robot , Neil Armstrong , Rob Herring , Richard Weinberger , Vignesh Raghavendra , Jerome Brunet , Martin Blumenstingl , Kevin Hilman , Jianxin Pan , Victor Wan , XianWei Zhao , Kelvin Zhang , BiChao Zheng , YongHui Yu , , , Subject: [PATCH RESEND v8 5/5] mtd: rawnand: meson: not support legacy clock Date: Mon, 22 Aug 2022 17:18:37 +0800 Message-ID: <20220822091838.18528-6-liang.yang@amlogic.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220822091838.18528-1-liang.yang@amlogic.com> References: <20220822091838.18528-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-20220822_022122_925057_53DA7A2C X-CRM114-Status: UNSURE ( 9.49 ) 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 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 Reviewed-by: Neil Armstrong Signed-off-by: Liang Yang --- 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.