dmaengine: mmp_tdma: Remove the MMP_SRAM dependency
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 19 Apr 2020 16:49:12 +0000 (18:49 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 23 Apr 2020 07:16:44 +0000 (12:46 +0530)
A generic SRAM will driver for Device Tree enabled platforms will do as
well.

The non-DT drivers that use mmp_tdma to transfer audio samples to and from
the audio SRAM should depend on MMP_SRAM themselves.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20200419164912.670973-8-lkundrak@v3.sk
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig

index c35c0e03b40f026b7fbe84fe535ac65110a78e17..037ada9cc056385481f87c421f7a294a5cb9bef5 100644 (file)
@@ -394,12 +394,10 @@ config MMP_TDMA
        bool "MMP Two-Channel DMA support"
        depends on ARCH_MMP || COMPILE_TEST
        select DMA_ENGINE
-       select MMP_SRAM if ARCH_MMP
        select GENERIC_ALLOCATOR
        help
          Support the MMP Two-Channel DMA engine.
          This engine used for MMP Audio DMA and pxa910 SQU.
-         It needs sram driver under mach-mmp.
 
 config MOXART_DMA
        tristate "MOXART DMA support"