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: 136967 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3784278lji; Fri, 25 May 2018 09:11:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZphFALOmeKfHUzDCl5uOLdnBkurkuN5LD/jYnvnns0/6GurWxZwHxVERmpMzwJ+6wvcER2L X-Received: by 2002:a63:82c7:: with SMTP id w190-v6mr2521900pgd.172.1527264705616; Fri, 25 May 2018 09:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527264705; cv=none; d=google.com; s=arc-20160816; b=muyJQubqyVKdr2E3evilAecEe6qlwWHlqqtnIhxq2z6aiqd0DxPWkkXjTd6+7IqCzn ETvCGVO67+qQ498L6lu+Pits1x3iM7i18iVBUwNMt+i8Y/nBelWCoPCTsqyLPVvIW0DW JlDYbpMV1HyXIiSK3hV5rZY9vARHiLoJGKiYUecZT+mD/jJRxTyBATYXntBw07NMLHue knA4GvrxfCSvCczdkd4xUwmEabqm0UzyPWF+uoFqxfdpLcqRwirpUYEbauI9C5qq48kY Rcoo9w98ZkYBh8xa+Flx3LzIb2qwySxo3CCkIDh/0hh3ju/iSDUIafYoeLbOr4ZnBoFU v4Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Pjcfz6zVuK9R57f5Wgfpmw5EJ8iXfN91NVqdxStVzVw=; b=BO/VVJHmQpoNK7A3nPgf0Zx4hhAcPD3+T2rKC8kmSil8qqtTf38zyYd5rrNm266U/T KbtGBTfBM3Nmrg7PU+wdBeRoP5NhBj3fTIZX69i86fBdgEUNs3/Mhj4boRS8TrV7lqkB 4Ogp4ciAlCbf2ziPm6sY413ILMhwC03Lod/f6KORaTROu5nCbkjlhbgwR50b2DSGLEMp rq2OSxsgXNGJA3GJ+eQeOhCqqisc7IOI4Atz5o7nl1Wohvw5mYJko9uJhlZJXcaA5ece XrU7tr37JJv/CEGNlmOkFILaKaf2bjfFNPkfzyH2MZSSDIfM8V1ijT6MTJ3Pp/gU/2z7 wcZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y64-v6si25159912pfj.239.2018.05.25.09.11.45; Fri, 25 May 2018 09:11:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967094AbeEYQLm (ORCPT + 30 others); Fri, 25 May 2018 12:11:42 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:36739 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965666AbeEYQLl (ORCPT ); Fri, 25 May 2018 12:11:41 -0400 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 Cc: Arnd Bergmann , Ludovic Barre , Olof Johansson , Pierre-Yves MORDRET , Patrice Chotard , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.9.0 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