]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: stm32: Don't select DMA unconditionally on STM32MP157C
authorArnd Bergmann <arnd@arndb.de>
Fri, 25 May 2018 16:09:13 +0000 (18:09 +0200)
committerOlof Johansson <olof@lixom.net>
Fri, 25 May 2018 22:26:38 +0000 (15:26 -0700)
commit58bf5fee789ec71e9aacf72d36cfbf85fa3a25dc
tree33953d43c757e0aeb27f505b5eb98c6bfe953c17
parent1fd4cb40f6f0342302f58213aa3871c6c5bf6a52
ARM: stm32: Don't select DMA unconditionally on STM32MP157C

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: acbd4ea2596e ("ARM: stm32: Select DMA, DMAMUX and MDMA support on STM32MP157C")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-stm32/Kconfig