From patchwork Fri May 25 16:10:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10427935 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AA634601D5 for ; Fri, 25 May 2018 16:13:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9359E29765 for ; Fri, 25 May 2018 16:13:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 877DD29773; Fri, 25 May 2018 16:13:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7101829765 for ; Fri, 25 May 2018 16:13:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=eYtmM45aZzQ5+8jFAd1JbTbvStRj4/dhatrEXIf4kqg=; b=fw5 BR9rg/9unRzBdFtt12k6rN0rYrMxW0VPttqnKXXQiu6jtIfRhHVmUQuwiX4BFWMTVxV3tX7o9cip/ jI5siTgivBj2mi+5q0jAyb/6sTmV4jbYqpjYKll1RKXG6QcmlENMR7Fs1Jky4L8BWnYtg1joBcxuf pd+9zGcqhl1igQN9eL0ifdNvlpQRRB9XtHWxFqZxUgTzQYcYoi4OfnlTsAEav8m4rk37qEzlMchM2 ClihdYcvxuNJx4vUh8ntuwl7Sr38jlERxnBW2664tk/RG07fQYpwIx0WyocHTVXTqRDoheE4E+SNH Bj0D72x9mrOzhmxgauHmpWN3KzWEd6Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMFKq-0006w8-Nm; Fri, 25 May 2018 16:12:56 +0000 Received: from mout.kundenserver.de ([217.72.192.74]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMFJ6-0006dV-QH for linux-arm-kernel@lists.infradead.org; Fri, 25 May 2018 16:11:37 +0000 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0LrK7I-1gKuyP3QZY-0135Qx; Fri, 25 May 2018 18:10:54 +0200 From: Arnd Bergmann To: arm@kernel.org, Maxime Coquelin , Alexandre Torgue Subject: [PATCH 1/2] ARM: stm32: Don't select DMA unconditionally on STM32MP157C Date: Fri, 25 May 2018 18:10:20 +0200 Message-Id: <20180525161051.187324-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:YfML3ONVGXTaTj9iaAN/b7P8JTcQbN6CWxIC1H4HYBLmMOaonoW hTtSOwpuOkZxs6FnckPL4XIfMU31w0B6zWeEUYcfTftPBI0c2W76WiHseVIiWG3gRYEf0uB fKuOAPSadcDPaffPq80B2T7d8QTkHOczpBAOVXKa9tYQ9yjgql3Po4X9yfmbzqqAAqoaQq+ s/Z1yq79zRAoctBMuJJzw== X-UI-Out-Filterresults: notjunk:1; V01:K0:qYz2Pecb7ag=:WSScp1Ge/Pt0vfwhklrtEa TQvFuAStB/YO7veCdw9soHgsLTxrBNf7YjXjL21etxDCQV+3X2Jzn4Db+oXrdfRcOEU43rWlB lm+Bpn4UTCthOYg6b2+QU01GjzY2rEY3LVKFqQt6rTYgclKrxuc6DMe8RUDdXlHVaF5LQQaFt kkpDyncLuu7cVab3LNIvuZ53k8FbAySDRX8Q1qDHDv0OvfqXLG6LMppLEE54YfTkZxaKG+Do6 vBBBmMFN7J0N6X3EtS9SrvQn0RU+EgQaqiRZk45G2JkCIARV5WUQ6Dg2bwTsDUBO7Z4v+aB/R iHCF7D77s5jWNV5JYq0n01t0agAQMpvcejp69GRh4ZQJAUrDI6GvE5Mvrg5aF7h2rFXkFeU6I BweDQFkALOTQliHvHFcYiqwUnzzpsNkeBEokbGtcS5qrAL2yFvUjXG2o/Vr/ePEdax9HjOaUL 7HwFPuCuV8Ltlwa7Wa8m03Dh4JncMyQz3XF44JWNPexfN6ZutYnumxkCaJW5EfPQSFFvgTVPt erTDnTkQOBdpJPrWQO8DVwpvq94PPKhQB6K7qGI2bi01nL41hvTM+Fm1FbiDnyutL5Kda5wwd lOkhk87m0IfR5YrWFnsT/SaVvqMdeMWAKoPY8jOw2VLEu1/Iy4VUEUs44RGDcN5y5mxIBSkRL 7wGndEBLNcjr4VR7bmUzGMt68DyGrMuSXcK7WVB/3h+5pfNJo+Ha3cgZQyeQs/YVJYgE= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180525_091109_185716_C242A2BD X-CRM114-Status: GOOD ( 10.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Patrice Chotard , Pierre-Yves MORDRET , linux-kernel@vger.kernel.org, Ludovic Barre , Olof Johansson , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The patch that enabled these had no useful changelog that explains why it is done, and it causes a build warning: WARNING: unmet direct dependencies detected for STM32_DMA Depends on [n]: DMADEVICES [=n] && (ARCH_STM32 [=y] || COMPILE_TEST [=y]) Selected by [y]: - MACH_STM32MP157 [=y] && ARCH_STM32 [=y] && ARCH_MULTI_V7 [=y] Generally, platforms should not select arbitrary drivers, so let's just revert that change. Fixes: de6037fa207f ("ARM: stm32: Select DMA, DMAMUX and MDMA support on STM32MP157C") Signed-off-by: Arnd Bergmann --- arch/arm/mach-stm32/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig index 82a93b8d9ae6..713c068b953f 100644 --- a/arch/arm/mach-stm32/Kconfig +++ b/arch/arm/mach-stm32/Kconfig @@ -46,9 +46,6 @@ if ARCH_MULTI_V7 config MACH_STM32MP157 bool "STMicroelectronics STM32MP157" - select STM32_DMA - select STM32_DMAMUX - select STM32_MDMA default y endif # ARMv7-A