Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3651653imm; Fri, 25 May 2018 09:12:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqXTs56oyopyEy8xS7dhTmQ0N5uHekkGTIVeWZNopG8HWv46JZ7u7GjwiJZtAaPzRocr3aF X-Received: by 2002:a62:c898:: with SMTP id i24-v6mr3228381pfk.35.1527264755589; Fri, 25 May 2018 09:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527264755; cv=none; d=google.com; s=arc-20160816; b=KwrseirBsTPFBAJXd6RJ8whbuMxE1xEtFUCGp3hA03yUhfOoB8/o7bGNm9QegMjNUh tgZacDHCeGA3cVhqthR5ogoURClHWv5WV08Jj8wXGQCsXIR5rVnKczOuc6z18lu2dcqH lhDlNKiVTyWM0OXho+f5qfQxACROqO12vOSfFrVXAVOgVb5ckSINQLp+Ts8BMcJfVKuu lNkajhqrMvMg9EB5vVQ4y2fW0kRq5IvfuKJSQEZMgPbJvvYnf+XdpU68lCN+WGuZUANF VXFK6TINl2q4qqgF+3+LzRkvfy7eCoPdlZl2g+CsJ1nIWkRsN9jxmXlC7pe64rd6FkH4 xGyQ== 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=fq5LIMpI0lUU5s5L6qZbBWbfjWi3qVx531vz1hA6OZbqIFfpc45rUOFu0tyK7ijryp 41SL8AWAG0RAvHaznyOfSjakbz/d0cSYFi2bYYDqIuaOox0hVuZ8MuNJv0COAbRMgwxU wS3dijuVJbVDImcb4LVWe1KJZHgIDCrVMcixKS5tFHAsebMCvOqiE5ZkUOwINiQZE0yj /nhI0X7hCA9omV095yBHaYUSFkiTmlNzpIenIRqrlF/hh7PuX+Loa+NRtNQkO1Fb9/KQ NsAE7xDZ/Cs0updh7+t5WyVtuwBxd1vWPNOkdEzzGxGRCG7Rn/VTiBf6lnljkjv5ixxa Fd7A== 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 g3-v6si14296686pgr.188.2018.05.25.09.12.19; Fri, 25 May 2018 09:12:35 -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 S966976AbeEYQLJ (ORCPT + 99 others); Fri, 25 May 2018 12:11:09 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:44657 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965666AbeEYQLI (ORCPT ); Fri, 25 May 2018 12:11:08 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0MVYtf-1fqn710CHn-00YvSC; Fri, 25 May 2018 18:09:28 +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:09:13 +0200 Message-Id: <20180525160926.150713-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:3PpjhnR6c7pIyzSdQKhlNEahgRkZsVVVvoeaM5kx2MzUzkcpTKw KhxM9xRjZsWytlwboKLxhJtLrtReWm6UKiOazMS10sk6yxFzz2j5RXtLRYMleJxmuj5I8Ot 3NEd33jD234zaq3Jz1tV8TM/WqxvR5WvdKw6W+fxTu0ntn5UwrZVJu+XLk3Or1S7HJOxqzZ NWcgtpwFuKUbgnD+Wznzg== X-UI-Out-Filterresults: notjunk:1;V01:K0:d8Raya714HI=:+AeVTq84ZBIYO+ZpsyQMHf pRHbC0R5AFECjSxfzfgnJ96svSdFaw9TMH3fQTguYqNN6ZZwx1nE1dP1trkt8C54T5VreEYB4 TNtTr9zH5DL1c+mz63pOp8tEtVetwfJKo95Ts6erfKb9QG3iNnRRqj058sEIuWt2My1u61FUZ eJfVnmvPjslkAWWqGDVCPUJrOXHG7lwMabENujfxhi94fNEFf4S6/32tWI5QvANomZSgggTOI EM5MCzYznAjNZDqiV8vA9fwZwde6/IxmEdKeutfgCRG/eHXUjv/FW3g/my/BlaI2aHEkfDajM xWc7rZkC9cOKIu/lY6vfi8Qtj7wLyqqHJ0WW0+XwCZZYSyk//mpyrk60L/eoAL33PxMS2L9N4 NzFTF3s+WfhCudE5i3nfhQ4DCE/v1CwyRb+v9GytGxHmhBY1JaSM9bVF2BL+2MMLK32ZAblEo cepsd8pqBZGBKgueapF2FPzlzSY2REmRu8no8GehayPqccq+udPuVcco3MDrB33IbLsHZfJv+ 1ZQhp9h+mTt4snBXPtrkW+2uD80cqc89jyCkYqhqgVj/AhXV5ZwzWm7Tgqo4vT+5VkCYF65aV 7DvEQwV2+BBRBdYO4IG9qoy7MbBW0dzI5/VVKhoY9lSb0+fTwTn0UTmAWPUCH1A9ytjXRd+8W zFSvVzUT2i9qfGho0fPjTGtGB46x/9bzIKHGUNdCa/IbY5D59YNAF9gENVTb066BnZZc= 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(-) 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 -- 2.9.0